Samsung hardware is not what it used to be.
They have been shipping the same camera block for something like three or four models. Compared to what Chinese competitors like Xiaomi or Oppo offer, it doesn't look that great anymore.
The poor software is just the cherry on top.
On top of buggy software they just have user hostile design choices. Like forcing agreements to sell health data if you want a step counter, or shoving ads in your face that you can't disable without hamstringing functionality.
Makes me think about switching if alternative markets really do come to iOS and they get a real firefox