People who have fewer good deeds and more bad deeds have led themselves astray because they preferred desires over everlasting Paradise.
( بِمَا كَانُوا بِآيَاتِنَا يَظْلِمُونَ ) (for what injustice they were doing toward Our verses): They were doing themselves injustice by not accepting nor following Allah’s (swt) path.