It's a shame that Canada also decided to shut the door on international students. The point was to ease the housing crisis (understandable) but the knock-on effect is to de-fund universities and surprisingly also public schools, which derive a great deal of revenue by charging international students.
It's colleges they they have been clamping down on, as they were bringing in absolutely massive numbers of mostly Indian students who were coming mainly to work in low-end jobs and get out of India rather than to legitimately study.
The number of graduate students being allowed in hasn't changed significantly, and undergraduate university students are also continuing to be brought in at rates similar to pre-pandemic times.