The Quran makes it quite clear that children and wealth are an adornment of this life and that we will be tested through our love for them. (Quran 18:46). In the stories of the prophets, we see that God tested various nations through loss of health and through the loss of wealth, even extreme poverty. God declares repentance and patience to be the keys to eternal life therefore accepting trials and even thanking God for them, denotes a high level of faith. Humankind however is in a constant struggle to accept the message of God. Many nations failed.
The story of Prophet Job is different. Through his story, we are able to view humankind’s struggle on a more personal level. God does not tell us about Job’s methods of preaching or how his people reacted to his warnings and admonitions. God does not tell us about the fate of Job’s people. Instead, He tells us about Job’s patience. He (the Almighty) praises Job by saying,
“Truly! We found him patient. How excellent a slave! Verily, he was ever oft returning in repentance to Us!” (Quran 38:44)