The EU includes a lot of less developed countries from former dictatorships, former communist countries, and the former Yugoslavia. There's a lot of catching up which hasn't finished yet. Plus it's mostly missing the US's oil resources. Straight-up GDP comparisons don't tell you so much about quality of life for the average person in the street.