I'm not really sure this is true. Last time I shopped for a laptop, the premium series ThinkPads (T or X series or so) cost pretty much the same as a similarly specced MBP. A Dell XPS didn't differ that much. The Apple hardware might even had a bit more oomph than a similarly priced ThinkPad or XPS, e.g. by having a CPU with a higher TDP.
An X1 Carbon from Lenovo would have cost more than almost any other laptop with similar specs.
Of course things might have changed in recent years, or pricing could be somewhat different in different markets (I'm in Europe). Cheaper series (such as ThinkPad E or L or whatever they've got nowadays) would of course also be cheaper. But based on what I saw, the old trope about Apple laptops being especially expensive didn't seem to hold if you compared it with premium models from other manufacturers, and not with value models.
FWIW, I ended up with Lenovo in any case and haven't been disappointed. But price wasn't really the reason.
I’ll second your experience though. I’ve used many machines, including daily driving both a Mac and Thinkpad currently for work, and find I prefer the Thinkpad. It has excellent Linux support (even fingerprint reader works on latest Ubuntu) and an excellent keyboard. The trackpad isn’t as good, but I prefer the nipple mouse.
Some older ThinkPad model I used at a previous job had a horrendous trackpad, though.
I picked the ThinkPad for personal use largely because of Linux compatibility, too. MacOS might be fine, but if you end up not wanting to use that, going back over to Linux might require way more effort than I was willing to put up with, even if the hardware itself would probably have been a fine choice.
Also, matte screens.
OTOH, everyone I know with an Apple raves about their customer service (in the US)...because they've all had to replace their Apple laptops at some point. Every. Single. One of them.
Apple customer service is great because it has to be. If Apple didn't so readily fix/replace its hardware, nobody would buy a second Apple product after the first one failed on them.