when we told the angels to prostrate before adam they all obeyed except iblis who abstained out of pride and so he became one of those who deny the truth.
وإذ قلنا للملائكة اسجدوا لآدم فسجدوا إلا إبليس أبى واستكبر وكان من الكافرين