That's flat out wrong. As a Rails developer, I have a weekly stream of recruiters trying to get my attention.
I know 2 COBOL programmers who are being paid a ton of money because of critical banking systems running it and candidates are hard to find.