This kind of analysis isn't much better. First, many countries are increasing funding substantially (e.g. [1]).
Secondly, it's about more than funding. The US is also no longer safe for a great many of the scientists that would normally choose come to the US to work. And even for those that aren't too worried about ICE, scientists tend to be very liberal and value freedom and democracy a great deal. The US has suddenly become a very undesirable place to live if you value these things.
Third, scientific freedom is under attack in the US. And there is nothing scientists value more than the freedom to pursue their research.
My take is that most Americans can't imagine a world where they are not number one. But that is a very naive idea.
[1] https://www.canada.ca/en/innovation-science-economic-develop...