Do people consider programming to be IT?
Some is necessary, sure. Bigger orgs. will insource web page maintenance, for instance, or develop custom scripts to handle data synchronization between systems. (Our Exchange/AD setup pulls data from the student accounting database, for instance.)
I would only consider IT to be essentially technical support. In which case yes, they are overpaid.
They are useless monkeys who do nothing all day then whine when someone has a computer issue.
False premise.
The "IT" department in a largish organization handles everything from the helpdesk monkey you love to hate, all the way up to the contract-employed SQL programmer who designed, implemented, and maintains (part time) the custom web page database doodad your company built because somebody at the C_O level decided you couldn't use an off-the-shelf solution.
Yeah, if you're a dentists office using all off-the-shelf turnkey solutions for everything, your IT guy is a tech support drone. Either the Geek Squad or Dell equivalent that does their B2B onsite support, or the phone support guy at the company that made your record keeping/scheduling software.
Etc.
But that just means that 99% of the people you deal with are low level drones making $12/hr, whose IT credentials include a 1.8 K/D ratio in CoD and "that one time I installed neon lights in my gaming rig."
The higher-ups in the IT department have the same distaste for that loser that you have for the "boss's nephew" n00b in your department who can't be trusted with anything more complex than fetching coffee.