I've had good luck with AppleCare and warranty service, and most of my Macbook's have lasted well.
On the other hand my sons 2021 Mac Mini M1 with an estimated < 20% writes remaining on the SSD is not looking very cool. In fact, rather disappointing and the computer will be junk soon due to the SSD only.