The answer
St. Gregory the Theologian says in his Oration on Nativity that God created angels because of His goodness that He may pour on them from His goodness and that they may enjoy thinking of Him and serving Him.658
The Holy Bible explains the relationship of good and evil angels to the creation of humanity. Good angels praised God and rejoiced, while the evil angels envied them, especially Satan.
Fr. Tadros Yacoub Malaty
Notes
658 St. Gregory of Nazianzus, Select Orations of Gregory Nazianzen 38.9 (NPNF II/7:347).