And they make sure to never use her at anywhere close to full power. Same for when Rachel was Phoenix, or Jean during the Morrison run. Most of the time Ilyana is the Magik School Bus, used for her teleportation and nothing else.
The Avengers face cosmic level threats when they have enough team members to do so. They wouldn't be facing them if Thor or Captain Marvel were the only one on the team who would stand a chance.