فَأَنسَاهُمْ أَنفُسَهُمْ He made them forget their own selves....59:19) It means they did not forget Allah but themselves, because they are unaware of their own loss and gain.
He has revealed to you ˹O Prophet˺ the Book in truth, confirming what came before it, as He revealed the Torah and the Gospel