Ali 'Imran 3:135
وَٱلَّذِينَ إِذَا فَعَلُوا۟ فَـٰحِشَةً أَوْ ظَلَمُوٓا۟ أَنفُسَهُمْ ذَكَرُوا۟ ٱللَّهَ فَٱسْتَغْفَرُوا۟ لِذُنُوبِهِمْ وَمَن يَغْفِرُ ٱلذُّنُوبَ إِلَّا ٱللَّهُ وَلَمْ يُصِرُّوا۟ عَلَىٰ مَا فَعَلُوا۟ وَهُمْ يَعْلَمُونَ
Wallatheena ithafaAAaloo fahishatan aw thalamoo anfusahum thakarooAllaha fastaghfaroo lithunoobihim wamanyaghfiru aththunooba illa Allahuwalam yusirroo AAala ma faAAaloo wahumyaAAlamoon
"And those who, when they commit an immorality or wrong themselves [by transgression], remember Allāh and seek forgiveness for their sins - and who can forgive sins except Allāh? - and [who] do not persist in what they have done while they know."
Ali 'Imran 3:135, translation by Sahih International
A short reflection
Those who, when they commit an immorality, remember Allah and seek forgiveness. And who but Allah forgives sins?