Saheeh International

That is because they preferred the worldly life over the Hereafter and that Allāh does not guide the disbelieving people.