The US is a socialist country. The federal budget is essentially comprised of three things - Social Security, Medicare, and defense, which has largely become a social welfare program. The balance of the expenditures are marginal although the larger ones are also socialist-like programs, such as federal pensions.
To the extent the US is a “capitalist” country it is in reality a crony-capitalist system run by a relatively small group of oligarchs who control Congress, the courts, and yes, even the god Trump.
The so-called BBB being a prime example of just how socialist the US has become. A US politician from the 1940s or earlier would assume we were a communist country if he looked at the federal budget.