This is a personal anecdote - I'm a games developer, working predominantly on Windows. Since last year I have to use a Mac to work with our iOS builds and I honestly don't understand people saying Mac is for developers - the number of actual outright bugs I run into every week makes windows look like something that came out of NASA. I eagerly awaited the release of MacOS 27 to maybe finally address some of them, and of course it just traded one set of problems for another. It's just shockingly bad - and unlike a true Linux system you have very little ability to fix some of those issues yourself too.
The people that say that usually equate UNIX with developers, because naturally on other platforms the software materialises out of nothing.