Why test people if Hashem already knows what they're going to do?
If we understand this concept we can feel empowered to deal with the challenges in our lives.