A pump never runs out of air, and doesn't require you to spend money on refills. CO2 cartridges are empty after use, and you must spend money to replace them.
Cartridges are faster, but there's a reason why pumps are still tried and true for many (most?) cyclists.