Allah Subhanahu wa Ta'ala said to His Prophet ﷺ (Translation): Say! Nothing befalls us save that which Allah has decreed for us. He is our Protector, Lord and Helper; (so there is some good in whatever befalls us), and in Allah let the believers put their trust. (At-Tawbah 9: 51)