They hate AI because it scales past them. 
A lot of programmers seem to despise AI, especially when non-programmers use it effectively. I’ve written several genuinely useful scripts with AI, shared them on a forum, and instead of a simple “thanks,” the response was outrage — suddenly it was all about copyright, end-user agreements, and technicalities. What gets ignored is that it still took real work: trial and error, testing, iteration, and almost a full day to get the scripts working correctly. The hostility isn’t really about legality — it’s about feeling threatened. AI lowers the barrier, and some people don’t like the idea that skills they guarded for years are becoming more accessible.
I think half of programmers feel threatened and the other half are excited. I saw a recent interview with a well known programmer who's been programming for fifty years. He said he's never had more fun programming. I completely agree with his sentiment. I'm a B+ programmer and haven't programmed in many years.
Recently, I've been vibe coding with AI using Windsurf and Cursor. One of the programs was a simple to do list using the Svelte framework and Vite on the front end and changing the language, framework and database on the back end. With all the programs using the same front end.
Six total programs:
1 Ruby language, Sinatra framework, and SQLite database
2 Node.js runtime environment, JavaScript language, Express framework, and SQLite database
3 Deno runtime environment, JavaScript language, Oak framework, SQLite database
4 Deno runtime environment, Oak framework, and MongoDB database
5 Deno runtime environment, Oak framework, and PostgreSQL database
6 Elixir language, Phoenix framework, and PostgreSQL database
At the end of all that I felt like I could program any kind of webpage using any language and framework. I've done three other programs with AI using Python, Java, and Go.
I completely agree that AI lowers the barrier, but I think that barrier was lowered even before AI.
On the front end you have JavaScript and half a dozen frame works. You can even use JavaScript for the back end with Node JS. In addition to back end frameworks. As a result the barrier was already very low to begin with and that's part of the problem. There are just too many web developers to begin with and it's too easy to do. AI just compounds a problem that already existed and people don't want to admit.