Ps 66:10

66:10 tested us. God occasionally laid difficult decisions before His people to see whether they would be obedient to Him in spite of their suffering (Ex. 15:25).

as silver. When silver is refined, it is purified; the dross is taken away. When God tests His people, those who are not obedient are taken away, while the faithful remain steadfast.