An-Nisaa • EN-AL-JALALAYN
﴿ إِنَّ ٱلَّذِينَ ءَامَنُوا۟ ثُمَّ كَفَرُوا۟ ثُمَّ ءَامَنُوا۟ ثُمَّ كَفَرُوا۟ ثُمَّ ٱزْدَادُوا۟ كُفْرًۭا لَّمْ يَكُنِ ٱللَّهُ لِيَغْفِرَ لَهُمْ وَلَا لِيَهْدِيَهُمْ سَبِيلًۢا ﴾
“Behold, as for those who come to believe, and then deny the truth, and again come to believe, and again deny the truth, and thereafter grow stubborn in their denial of the truth - God will not forgive them, nor will He guide them in any way.”
Verily those who believed in Moses namely the Jews and then disbelieved by worshipping the calf and then believed after that and then disbelieved in Jesus and then increased in disbelief in Muhammad — it was not for God to forgive them for what they have persisted in of disbelief nor to guide them to a way to the truth.