Tested

“So that Allah may refine the hearts of the faithful, tempering them through trials

3:141And that Allah may prove those who believe, and may blight the disbelievers.