Qur'an, Al-Isra, Surah 17:83:84
"Often when we bestow blessings on someone, that person turns away and behaves proudly. But when evil comes, that same person plunges into despair."
I say that people act according to their own natures. But the Lord knows best how to guide you on the right path.