Exodus 15:25
15:25 He cried out to the Lord, and the Lord showed him a tree. When Moses threw it into the water, the water became safe to drink. There the Lord made for them a binding ordinance, and there he tested them.
Deuteronomy 8:2
8:2 Remember the whole way by which he has brought you these forty years through the desert so that he might, by humbling you, test you to see if you have it within you to keep his commandments or not.
Deuteronomy 8:16
8:16 fed you in the desert with manna (which your ancestors had never before known) so that he might by humbling you test you and eventually bring good to you.
Joshua 24:15
24:15 If you have no desire to worship the Lord, choose today whom you will worship, whether it be the gods whom your ancestors worshiped beyond the Euphrates, or the gods of the Amorites in whose land you are living. But I and my family will worship the Lord!”