One of the methods that Allah uses to bring us closer to Him is by inflicting us with something we perceive as negative and if you came closer to Allah because of any one of those things or anything negative, It was the blessing of Allah and it’s the mercy of Allah and the gift of Allah.
But if Allah blessed you and gave you and did everything for you, and you passed with flying colors and you’ve got authority and you’ve got good looks and you’ve got lots of knowledge, and you’ve got lots of this and whatever else it may be, if that drifted you away from Allah, it cannot be the mercy of Allah.
So understand the favors of Allah and let it bring you closer to Allah.
Get acquainted with Allah during your days of ease. Get close to Allah, when nothing is wrong in your life, everything is smooth sailing, then go close to Allah. So what will happen when the days are tough for you?
Allah will come to you.