Translation:

142. Did ye think that ye would enter heaven without Allah testing those of you who fought hard (in His cause) and remained steadfast?

Notes (Tafseer)

458. The purge or purification was in two senses. (1) It cleared out the Hypocrites from the ranks of the Muslim warriors. (2) The testing-time strengthened the faith of the weak and wavering: for suffering has its own mission in life. The Prophet's example-wounded but staunch, and firmer than ever-put new life into the Community.