During the pandemic I switched jobs and got a new MacBook Pro... it failed, then it failed again, and again. I sent it back a few times and each turn-around took a couple of weeks.
Whilst that happened I still had to do some work and fell back on my gaming PC. It wasn't a good PC, just an entry level gaming PC. Yet I found it out-performed my MBP for a load of things I cared about: Running Google Meet without fans spinning to full speed, reactivating a Google Doc tab almost instantly rather than it appearing to be blank for 30 seconds. Things like that.
The MBP finally got repaired, but I've owned that for barely 2 years now (it was new at the time) and it's been out of action about 10% of the time. In the meantime my desktop has been rock solid and reliable.
Recently I figured I'd do something different... sell the entry level gaming machine and build a desktop with work in mind. The result has been really great, with a silent and powerful desktop based on components I like and that work together. It runs Linux, and a surprise to me I'm also running Windows. Everything just works, and it all works well and the computer is fantastic at every task I throw at it. This includes local dev, compiling things, lots of meetings, webinar editing, and some occasional gaming post-work.
I still have the MBP... it's not a primary work device, my experience with Apple means I don't trust the machine at all, but for a travel device it feels fine and it's that which gave me confidence to go all-in on a desktop.