I think another way to phrase this is "No company is perfect, don't let good be the enemy of perfect, find a company that ticks as many of your boxes while triggering as few or zero of your red flags" or something like that.
Is my job "perfect"? Absolutely not but it's pretty damn close and compared to my past jobs it's by far the best (if you can't say this then you might want to shop around). I have a friend who gets every Friday off, is that nice? Sure is but I wouldn't like a number of other things about the company he works for. Life/work is a series of tradeoffs/comprimsies, just make sure you are feel like you have more positives than negatives and you'll be happy.
I'm extremely thankful that early in my career I realized that I enjoy working for smaller companies. I was "lucky" enough to essentially be contracted out to a big client and I hated almost every aspect of it (except that I loved working on a single product vs the small little projects for various clients as I had done before). I took that experience and found a job at a small company that had a couple of products that I could iterate on and improve.
It's common to say something like "If you aren't changing jobs every 2-4 years you are leaving a ton of money on the table", that's mostly true but one other big benefit of moving companies is you get to exposed to a bunch of different ways companies are run, their culture, etc. I feel like every time I've switched jobs I've moved closer and closer to my personal "perfect", in part because I've recognized the red flags from my past/current jobs and watched for them before accepting an offer at a new place.