This relationship is shown below and it reveals the important empirical scaling between Mass and Luminosity.
For simplicity, let's take the scaling to be L goes as M4.
What implication does this have for stellar lifetimes?
Well the lifetime of a star is equal to its total fuel (which is M), divided by the fuel consumption rate, which is the Luminosity of the star).
so lifetime goes as M/L which goes as M/M4 or M-3.
The calibrated relationship is, when M is measured in solar masses, the lifetime is:
Thus a 10 solar mass star would have a lifetime of only 10 million years.