You can get a new Pixel 8 for ~500$, I would say that has a very decent price to value, and will be supported for longer.
You can also use 2 SIMs on a Pixel by using an eSIM.
Also, the basic premise is that you can buy a decent Pixel phone for an affordable price, not that it has the very best price/value out of any device. I would also wager that the Pixel 8 has massively better cameras than a Samsung A16, so not apples to oranges.