And [remember] when We said to the angels, “Prostrate before Adam,” so they all prostrated except Iblīs, who was one of the jinn, but he disobeyed the command of his Lord. Will you then take him and his progeny as protectors instead of Me, even though they are your enemies? What a terrible exchange for the wrongdoers!
Quran is an explanation of everything
Al-Kahf (The Cave)