Verse and its interpretation

قال تعالى:{إِنَّمَا التَّوْبَةُ عَلَى اللَّهِ لِلَّذِينَ يَعْمَلُونَ السُّوءَ بِجَهَالَةٍ ثُمَّ يَتُوبُونَ مِن قَرِيبٍ فَأُولَٰئِكَ يَتُوبُ اللَّهُ عَلَيْهِمْ ۗ وَكَانَ اللَّهُ عَلِيمًا حَكِيمًا}
النساء : الآية17
Interpretation of the Noble Verse:
God only accepts repentance from those who commit transgressions and sins out of ignorance of their consequences and invites God’s wrath – so every sinner who disobeys God, mistakenly or deliberately, is ignorant of this consideration, even if he knows of the prohibition – and then they return to their Lord in repentance and obedience before witnessing death. For those, God accepts their repentance. God was All-Knowing of His creation, Wise in His management and appreciation.
Facilitated explanation