I had a Mac many years ago - it was an aluminium Powerbook G4 12" so (checks Wikipedia) it must have been 2003. It lasted a long time - I think it was 2008 when it retired hurt, but I dropped it many times. In the end it needed a new keyboard and a new battery and so I decided to replace it.
I couldn't justify the price of a new Mac so I bought a Windows laptop but got rid of Windows almost immediately and used Ubuntu instead. What followed was a few cheap-ish Windows laptops, all with Windows removed and Ubuntu or some other flavour of Linux installed, all of which fell apart sooner rather than later - being self employed my laptops get moved from work to home a lot. The last one, an HP Elitebook, which was actually quite well made, was dual boot because some bits of software I needed I couldn't replicate with Ubuntu. Windows 8.1 was ok. Sort of. The Elitebook allowed you to install two hard drives, so the boot drive was split, Windows had 2/3 of the drive and Ubuntu 1/3, and then all my data was on the other drive. Windows filled it's drive. Ubuntu got nowhere near filling it's drive. I've used Ubuntu or other flavours of Linux as my main OS for 10 years or so and it's been great.
Anyway, the Elitebook was also getting a bit long in the tooth and as much as I got to the point where I nearly didn't mind Windows 8.1, it was always a bit less slick that Ubuntu - Windows Explorer in particular is hideous. And Windows laptops are generally dull and ugly and badly made - and in contrast to when my Powerbook gave up, I looked at Mac prices and thought that, with the new M1 processor, the prices weren't that bad, considering the performance you get. So given that I needed either Windows or OSX (Mac OS) to run some of the software I need for one of my contracts, I went back to Mac. There are very few things you can't do with Ubuntu, but some specialist software might be an issue particularly if you are not the one who gets to choose what software you use.
That said, I did like Ubuntu / Linux and I have a virtual Debian install on my Mac, just for old times sake. I never had any reliability issues, although in the early days I had a few problems with it not connecting to the wi-fi after sleep - I can't even remember the details now but it was an easy command line fix, i..e. I had a line of text saved on the desktop that I just pasted at a command prompt to restart the wifi. I can see how that sort of thing is off putting, but it was no bother really, and as I say it was maybe 10 years ago. I've not had a similar problem with later versions / other hardware.
As others have said, the live USB is a great way to try different flavours. I mainly used Ubuntu but also used Lubuntu (very low hardware requirements) Mint and PopOS! a fair bit too.