"Their recompense is that upon them is the curse of Allah, the angels, and all mankind," meaning by "mankind": the believers specifically.
﴿أُولَئِكَ جَزَاؤُهُمْ أَنَّ عَلَيْهِمْ لَعْنَةَ الله وَالْمَلَائِكَة وَالنَّاس أَجْمَعِينَ﴾ يَعْنِي بِالنَّاسِ: الْمُؤمنِينَ خَاصَّة