Your description of macOS's and MacBooks' reliability doesn't match my experience. I've been using MacBook Pros for about 15 years now, and every single one that I've ever owned or used long-term has always had some kind of bizarre issue that ended up forcing me to replace it.
It's actually funny that you mention issues with Thunderbolt docks and monitors, because I feel like those were some of the most frequent issues I've encountered. This year, I actually swapped my work MacBook Pro for a Linux laptop specifically because my Mac would completely and irrecoverably lock up every time I tried docking it to two 4K monitors. My new Linux laptop has some issues of its own, but nothing that severe, at least.