I had another two Samsung phones that developed hardware faults making them unusable after 2 years of use, I'm absolutely done with Samsung
I haven't tried any foldable phones and I have no intention to anytime soon, but with other samsung phones my experience has been completely different. I've only ever used Samsung smartphones, and the only times they broke was when I dropped them or mishandled them myself somehow. My current one is past the 6 year mark, and I have no issues with it. It still keeps 48 hours of battery with my normal use (though that might not be saying much considering my normal use is different from most people's normal use of watching videos for hours)