I've had the same experience. My Macs last forever -- I can milk 7-8 years out of a Mac before replacing it (currently at 4 years on my current machine, an M1 MBP). Historically, a comparable Win machine lasts me three-ish years, if I'm lucky. I've stopped buying Win hardware, though, so it may have gotten better.
I know, I know: anecdata.