It was the Pixel 4 (not the XL) version and I returned after not being able to live with the terrible terrible battery life. It really was hands down the worst android phone I ever had when it came to battery life.
But apparently your experience isn't the same for everyone. There's a thread for people who have the smaller Pixel 4 specifically, and there are some getting the same battery life as the Pixel 3, some better, some worse. There are some people who get crap battery life for phones that are known for great battery life. It comes down to each person's situation (signal level at their location, user settings, apps installed, etc). The fact that some are getting decent battery tells me that either there are some devices that have issues (but apparently isn't an issue with the fundamental design otherwise all would have issues) or perhaps your circumstances are more detrimental than other (what I referenced above about signal strength and such). But to try and paint the phone itself as crap when others aren't having the issues you are isn't being realistic. I too wish they put a larger battery inside, but if some are doing ok without it, then maybe the issues aren't phone related.