You can't compare US spending per pupil with other countries because US spending per pupil varies wildly between states, between counties, even between districts.
For example, Utah spends about $9,200 per pupil, and NY spends about $28,200 per pupil. In NY, parts of upstate NY spend about $11,000 per pupil, and parts of the NY metro area and Long Island spend about $40,000 per pupil.
So you can't compare other countries to ours because of how wildly variant per pupil spending is.
Also, we are the ONLY COUNTRY ON EARTH that funds our schools with property taxes. That leads to uneven outcomes by design. Poor students have less economic mobility because less is spent on their education than wealthy students, because school district funding is not even across the country.
So that's why this argument you're making is a stupid, sophist one.