Qur'an, Al-Hadid, 57:22-23
No disaster, unless it has been preordained and recorded in the book of records, can ever befall the earth nor your own selves. Behold, all this is easy enough for Allah. Know this so that you may not despair for the good fortune you lost, nor exult unduly because of the blessings bestowed upon you. Allah does not love the arrogant and the boastful.