Huawei P30 vs. Galaxy S10 vs. Pixel 3: Cameras, battery and all the specs
https://www.cnet.com/news/huawei-p30-vs-galaxy-s10-vs-pixel-3-cameras-battery-and-all-the-specs/
The P30's megapixel count is much higher than the Galaxy S10 and Pixel 3, but remember that the amount of light that streams in and the way that the software processes photos are both more important than the number of pixels a camera has on the final effect.
One area where a large pixel count can come as an advantage is with zooming in (or cropping in) on details, but there are plenty of other phones that do a nice job of that without extremely high pixel counts.