That’s worth emphasising. First, the maximum stated power output might not be achieved, which is more common with no-name units, but with chargers there can also be a pronounced “sag” in the output voltage as current usage increases, which you can only find out by measuring the unit in operation.
For a charger, it might be acceptable if the voltage drops to 4.5V (or less) when current draw is high, but the Raspberry Pi isn’t so tolerant and apparently needs a minimum of 4.75V at all times for stable operation.
So the bottom line is that a charger is designed to charge, not act as a PSU, and there’s therefore a good chance that it will be unsuitable for powering a Pi.