That's half true. You have to think about cost of living, you can't just compare across the globe like that. And especially opportunity cost. In the US, teacher pay lags behind similarly educated professionals.
But you're right after a certain point other factors matter more than simple $ per student. Unfortunately one of those factors is teacher pay <=> teacher quality.