The Xiaomi Mi 8 has the same SOC and Sony IMX363 sensor as the Pixel 3, so if you want a cheaper device that's a good option. The only thing you really miss out on are waterproof and wireless charging, but considering its less than half the price...
They are in general providing hardware well above the competitor at most price points, just got an A2 and I'm loving it, camera included, gives a real run for money to high end devices