You can't generalise. It lasts longer in the LED lamp than in a hoover or angle grinder. But 3Ah are 3Ah. Whether these are only 18650 cells or 21700 cells is irrelevant. The available energy is the same. This battery can deliver higher currents compared to the 18650 and is more compact.
Example calculation: The Einhell LED worklight TC-CL 18/1800 Li with 1800 lumen has an output of approx. 20 watts, which corresponds to a current of 1 ampere. This means that the spotlight should shine for around three hours with the 3 Ah battery.