Logitech all the way.
Logitech is a truly innovative company. They actually care deeply about ergonomics. They also introduced the first mass market application of programmable magnets (in the MX Master mouse scroll wheel) - that's incredibly advanced materials science.
I’m no longer sure about their quality though. Out of four Logitech mice I bought recently (four different models), two died within a year. At least their warranty repair/replace process was decent.
I had several Marathon mice which broke their 3-year battery life promises, by lasting way longer. I had to retire them since their plastics degraded in some cases after 6-7 years (I had several at one point due to having multiple PCs being used every day for long stretches).
Currently I use their MX Keys Minis, MX Anywhere mice and trackballs. All are rock solid. Bolt receiver works great with Linux via Solaar allowing full suite of features.
Oh, Firmware Update Daemon supports Logitech hardware, too. If Logitech sends in new firmware, it pops up instantly to upgrade.
In my family we use the Glorious Model O. My son wanted one ages ago (I got him a mini), and it was so nice, I got one for myself. Now my oldest has a big one, and my youngest uses the mini.
We've had them for years. The mini has lost the button that lets you select speed, but other than that they're still great. For better than the various Logitechs I had before.
The only real downside is the bright flashing led patterns. I've gotten used to them.
Their buttons fail way too easily, but can usually be fixed with some WD-40, CRC 5-56, or any similar thin oil.
The switches on my $80 MX Anywhere 3 failed in under 2 years.
What do you do to your mouses to make them fail so quickly? Are you throwing them randomly accross the room?
Some Logitech mouse switches have been known to fail in normal use.
At least one person has put together a good overview of what they think is happening: https://www.youtube.com/watch?v=v5BhECVlKJA (details in video description)
They just fail. Particularly the office mice don't last very long for gaming (orders of magnitude more travel and clicks)
Use cats. For all great Logi ergonomics, they fall prey to cat hair; and pads cover the screws, so they can't be reassembled pristine after cleaning. Still, M500s is the best.
They also managed to develop a steaming pile of shit called Logi Options+ which you need to set up your mouse (I only used the mac version to be fair)
I can happily share that there is an open-source alternative, https://github.com/TomBadash/Mouser
You don't need it. The mouse functions perfectly fine without it. And you can even switch DPI when the mouse has a button to do that.
The software allows for fine-tuned settings, button remapping, etc. It is awful software, to be sure, but it's not necessary to use the mouse.