Surah An-Nisaa

4:110

وَمَن يَعْمَلْ سُوٓءًا أَوْ يَظْلِمْ نَفْسَهُۥ ثُمَّ يَسْتَغْفِرِ ٱللَّهَ يَجِدِ ٱللَّهَ غَفُورًۭا رَّحِيمًۭا

And whoever does a wrong or wrongs himself but then seeks forgiveness of Allah will find Allah Forgiving and Merciful.

Tafsir 4:110

If anyone does an evil action or wrongs themselves by committing sins, and then they ask for forgiveness from Allah, regretfully admitting their sin and leaving it, they will find that Allah is always ready to forgive their sins and show them mercy.