Mustafa Khattab:Translation:
If you avoid the major sins forbidden to you, We will absolve you of your ˹lesser˺ misdeeds and admit you into a place of honour.11

Muhammad Asad:Translation:
If you avoid the great sins, which you have been enjoined to shun, We shall efface your [minor] bad deeds, and shall cause you to enter an abode of glory. 40
11 i.e., Paradise.