That embrace of immigration is perhaps the main reason the US has had a strong economy. Immigrants fuel the US university system, the strongest in the world, and the tech economy, which feed off each other. And accepting immigrants has led to a cosmopolitan feel in the US, which makes high-skilled immigrants want to come here. That is a big reason why New York is a finance capital.
The United States is now destroying its unique brainpower advantage by destroying immigration (basically in pursuit of political power by one party). It's a disaster for the US. But the smart immigrants will now go to other countries for university and start companies in other countries. It's a huge opportunity for other countries.
Immigration was certainly good for our economy too.
Unless you embrace immigration or natalism (or both), your (age) demographic story is not going to look good in 20-30 years.