Ayyub (a.s) was given 50 years of comfort and luxury. He was bestowed by Allah (s.w.t) with such ease that the moment he shared about Allah, people accepted.
Normal people tend to forget that ease and happiness in this worldly life are also tests by Allah (s.w.t). But as a prophet of Allah, Ayyub (a.s) had never forgotten this.
Imam Omar Suleiman explains in Devoted: The Faithful Love of Prophet Ayyub (A.S.) about the story of Prophet Ayyub (a.s) that opens our mind and heart about the meaning of true love between a slave and his Lord, and between a man and his loyal wife.