This is the case in socialized systems as well. For example I need a monoclonal antibody injection regularly (MSRP $1500/dose) and in European systems I would need to prove that topical steroids and immunosuppressants did not work first before trying it. Just like Europe, I pay $0 for the doses, because the drug company has a program to cover my copay ($100/month) and the insurance company "pays" for the rest. No way the insurance company is paying MSRP, so that $1500 is definitely a fake price.
Also you have to consider that the US is subsidizing these European countries by paying for their defense. If France, Germany, and Italy had to pay for military expenditures necessary to defend against Russia then they would not have the budget to pay for such extravagant social benefits. European NATO countries have long been underfunding the military below NATO spending requirements.