Prophet Muḥammad ﷺsaid:
“The angel on the left doesnt write down anything until 6 hours have passed after a Muslim does a bad deed. If he regrets and asks Allah for forgiveness within that time, he doesn’t write it down.” ~ (Al-Tabarani, 7667)
That’s how Merciful Allah SWT is