Psalm 11:5 makes it clear that these tests are the privilege of those who are called righteous – those in whom God delights.
Maammuantayo iti Salmo 11:5 a “kagura [ni Jehova] ti asinoman a mangay-ayat iti kinaranggas.”