O you who have believed, if you fear Allāh, He will grant you a criterion1 and will remove from you your misdeeds and forgive you. And Allāh is the possessor of great bounty.
Translation: Saheeh International (English)
1 By which to judge between truth and falsehood. Also interpreted as a "way out" of difficulties.
O you who believe in Allah and His messengers, know that if you are Mindful, following what He instructs and staying away from what He has prohibited, He will give you the ability to discriminate between truth and falsehood, so you will not be confused as regards to them, and He will erase from you the evil you have committed, and forgive your sins. To Allah belongs immense bounty, and from His great bounty is His Paradise which He has prepared for those who are Mindful among His creation.