Are amp hours in some way better due to the varying voltage across the charge profile of a draining battery perhaps?
One problem here is that what looks like a battery on the outside is often a system under the hood, so the output voltage is not necessarily the voltage at which the battery operates due to for instance DC-DC convertors and other electronics embedded in the battery housing.
Because what I want to know about a battery is exactly how many hours I can use it at a given wattage. The voltage is determined by application, and the only amp-related stat I'm interested in is maximum current, which is more useful to me in watts anyway.
So a 50 Wh battery which I'm going to draw at 10 watts? five hours of use time. 20 watts? 2.5, and I can do this in my head all day. Joules are less convenient because going from seconds to hours is too annoying to do as mental maths.
So it’s actually probably the worst way to compare battery capacity.