Just a reminder that ten years ago, there were more Iranian politicians with American PhDs than Americans politicians.
https://iranprimer.usip.org/blog/2014/nov/13/rouhani%E2%80%99s-us-educated-cabinet
Osama bin Laden also had a degree from a country that was allied to the Americans.
Khalid Sheikh Mohammed had an American degree.
Yes, educating people that hate the country or work for unfriendly country stinks. But if you only want to educate sycophants, it will only hurt the country. People and countries also change sides.
It hurts to see veterans and people in uniform participate in Jan 6. All you can hope for is that they are a minority. The same with bad faith students.