In many European countries there aren't high salaries and above-average job security for developers, you are considered an office worker like everyone else, this isn't Silicon Valey over here, especially if you come from the Southern Europe countries.
I'm in Southern Europe and developer salaries here are definitely above average. Sure, much less exaggerated than in the US, but still above than the average salary in the country. Even if you limit the comparison to only office workers in the same city, dev is still on the upper half, at least for now.