That is not the same as this. If you're a multi-PhD holder from Iran who's a world-famous scientist, you can get into e.g. the UK. This would forbid them, purely based on country of origin.
"Immigrant visa processing from these 75 countries will be paused while the State Department reassesses immigration processing procedures to prevent the entry of foreign nationals who would take welfare and public benefits,"
https://www.reuters.com/world/us/us-suspend-visa-processing-...