إِنَّ ٱلَّذِينَ كَفَرُوا۟ وَمَاتُوا۟ وَهُمْ كُفَّارٌ أُو۟لَٰٓئِكَ عَلَيْهِمْ لَعْنَةُ ٱللَّهِ وَٱلْمَلَٰٓئِكَةِ وَٱلنَّاسِ أَجْمَعِينَ
Indeed, those who disbelieve and die while they are disbelievers - upon them will be the curse of Allah and of the angels and the people, all together,
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.