The Galaxy A5x series is excellent value. It's not the absolute cheapest but for ~$300 there's nothing it does wrong. I've used a Galaxy A52 (older 4g version) for the last 2 years without any issues. Before that I stuck to Umidigi phones in the ~$120-$150 range which were all great except for the cameras.
Over Christmas I won a Pixel 8 Pro giveaway but except for in the lowest lighting conditions the difference is insignificant to my eye. I actually really miss some of the Samsung software features (namely secure folder and free-form windows).
Having a cheaper phone is also freeing to treat them less gently. I often found myself taking photos I might not otherwise due to the fact all my prior phones were so cheap. I'm not about to hold my Pixel 8 Pro out over a cliff, but for the Umidigi phones and Galaxy A52 that was no problem when traveling.