Allah's Messenger (ﷺ) said, "If Allah wants to do good to somebody, He afflicts him with trials."
Sahih al-Bukhari Book 75, Hadith 5