Charge, not energy
A milliamp hour is a unit of charge. A battery rated at 5,000 mAh can, in theory, deliver 5,000 milliamps for one hour, or 500 milliamps for ten hours. That says how much current flows, but not how hard it's pushed. Energy is charge times voltage, so mAh alone can't tell you how much a battery holds.
To get watt hours, multiply the mAh by the voltage and divide by 1,000. A 5,000 mAh phone battery at 3.87 V holds 19.4 Wh. A 5,000 mAh pack at 11.55 V, the kind inside many laptops, holds 57.8 Wh.
Why power banks list 3.7 V
Power banks use lithium ion cells with a nominal voltage of about 3.6 or 3.7 V, and the mAh on the label is counted at that voltage. The bank raises it to 5 V or more for USB, so the same energy shows up as fewer mAh at the port. A 20,000 mAh bank holds 74 Wh, and after losses on the way, it never puts the full 20,000 mAh into a phone.
Some labels list a second, smaller rated capacity at 5 V. That figure already counts the conversion loss. To compare banks, use the cell figure with its voltage, or better still, the Wh.
Which number airlines check
Airlines don't go by mAh. The FAA and IATA set their battery lines in watt hours: up to 100 Wh needs no approval, and 101 to 160 Wh needs the airline's approval. At 3.7 V, the 100 Wh line falls at 27,027 mAh. If your power bank only lists mAh, convert it before you fly, and pack it in your carry-on, since power banks can't go in checked bags.