With bulb it depends on how/how often you power cycle. A good way to extend its life is to not power cycle it and to underpower it. Dimming a bulb also saves electricity and easier on the eyes.
With LED it is up to manufacturer. People say LEDs are cheaper but those leds are exactly the ones you have to keep buying. And good LED prices can go pretty high compared to bulbs.
People assumed that LEDs would last forever because the crystals essentially do, but the encasement and all of the heat issues you have to deal with for the electronics makes that pointless.
I am sure leds technically do live longer than bulbs. But the difference is not significant enough in real life.
https://hackaday.com/2021/01/17/leds-from-dubai-the-royal-li...
Maybe spring the extra couple of dollars and get high quality LEDs.
I wonder how many tests are run in actual enclosures for example. Which for example might not dissipate enough heat.
I think it is too expensive to run tests in real life changing conditions