[Al-Alaq:14]:
أَلَمْ يَعْلَم بِأَنَّ اللَّهَ يَرَىٰ
Does he, then, not know that God sees [all]?
Allah knows whatever we do or even think.
But as long as we are alive, the door of repentance is open. Isteghfar is the only key to achieve Allah’s acceptance in this Duniya and not committing same act again and again.
May Allah forgive all of us.