I've been making money from selling code since 1996 and a full time developer over a decade.
While my salary would be low in London (I'd be worth at least another 10-15K down there) in the North of England and particularly where I live that gives me an excellent standard of living, rent on a decent sized two bed is <25% of my salary alone (excluding my partners entirely) about 15% if we include hers.
US Salaries are way higher than UK salaries even in London and if you exclude London then the gap is hilariously bad.
Average software engineer in my region earns £25K.
I could move down south but frankly I don't want to, I like it up here, I have a good mostly low stress 9-5 job.
There is more to life than take home pay.
Additionally I have complex (therefore potentially very expensive) health issues that don't affect my ability to work but would affect my ability to get healthcare insurance in the US - if I adjust for that then things look much better from this side of the pond tbh.