Allaah the Most High said:
And when harm touches men, they cry sincerely only to their Lord (Allaah), turning to Him in repentance; but when He gives them a taste of His Mercy, behold, a party of them associates partners in worship with their Lord.
{Sūrah Ar-Rūm 30:33}