Comparing just to SF is a bit misguided. By the same reasoning, what is your reaction if I told you the average software developer makes $120 in Zurich?
Zurich is not Germany. It's Switzerland, a different country. And many Germans move to Switzerland, because salaries there are higher and taxes are ~2 times lower.