I'll not dwell on the history of Ayub (peace be upon him), rather a reminder about tests from Allah, contentment and du'a:
Prophet Ayub (peace be upon him) was wealthy when we began to call to Islam. That blessing however, did not make him arrogant or unjust. Allah tested Prophet Ayub with several calamities, throughout which Prophet Ayub (peace be upon him) did not utter complaints. His workers were killed and properties stolen. His roof fell in. He was stricken with sickness.
Prophet Ayub (peace be upon him) thanked Allah and was content with his situation, peace be upon him. The evil ones among his people said these tests were a proof he was not calling to the Truth. As a result he was mocked. Finally, he prayed to Allah. Not complaining about Allah (may Allah protect us from this) or even to Allah, rather he stated:
"Truly adversity has afflicted me and You are Most Merciful of all who show mercy." (21:83)
And, Allah accepted that du'a:
"Then We heard his prayer and removed that adversity from which he suffered, and We gave him his household and the like thereof along with them, a mercy from Our store and remembrance for the worshipers." (21:84)
When Allah cured his disease and restored his property, Ayub, peace be upon him, thanked Allah for His countless blessings. In Prophet Ayub, peace be upon him, we see exemplified patience, contentment and trust in Allah.
May Allah guide us to the Straight Path.
May Allah give us stability upon that Truth.