Translation:

166. What ye suffered on the day the two armies met was with the leave of Allah in order that He might test the believers.

Notes (Tafseer)

475. Test: literally know. See n. 467 to iii. 154.