Al-Baqara • EN-AL-JALALAYN
﴿ إِنَّ ٱلَّذِينَ كَفَرُوا۟ وَمَاتُوا۟ وَهُمْ كُفَّارٌ أُو۟لَٰٓئِكَ عَلَيْهِمْ لَعْنَةُ ٱللَّهِ وَٱلْمَلَٰٓئِكَةِ وَٱلنَّاسِ أَجْمَعِينَ ﴾
“Behold, as for those who are bent on denying the truth and die as deniers of the truth -their due is rejection by God, and by the angels,, and by all [righteous] men.”
But those who disbelieve and die disbelieving wa-hum kuffār ‘they being disbelievers’ is a circumstantial qualifier — upon them shall be the curse of God and the angels and of people altogether that is they deserve such a curse in this life and in the next; ‘people’ here is said to be either people in general or believers.