Yes, because people from those countries couldn't be vetted and were countries that bred terrorists. Some complain about Muslims being there, but it was based solely on the ability of customs and border law enforcement to recognize who the person was and whether they were a terrorist threat.
Muslims have just about taken over the countries Biden banned, why no outcry about that?