Ibn al-Qayyim (رحمه الله) said:
“Indeed, sins inevitably remove blessings. Hence, a servant does not commit a sin except that he loses one of the blessings of Allāh (upon him), according to the level of the sin.”
[Ṭariq al-Hijratayn (1/408) | Translated by Rpubs Editorial]
The Quran is perfect! An excellent reminder indeed.
Quran 49:10-13
"The believers are nothing else than brothers. So make reconciliation between your brothers, and fear Allah, that you may receive mercy.
O you who believe! Let not a group scoff at another group, it may be
you have that chapter in your life, and you cannot undo it anymore. all that you can do is to embrace it. we all make mistakes as we are just humans. what matters most now is the end chapter of your life, and how you end it.
if you seek your value to people, you will only be disappointed. never do that. the fact that you're valuable in the sight of Allaah, that's more than enough.