40 watts out of an LED or CFL bulb is a lot more light than out of a traditional incandescent.
60 watts was a pretty standard, and some people would use 100 watt bulbs pre-led.
A modern LED bulb will use somewhere between 7-9 watts to produce the same amount of light, they're orders of magnitude more efficient at turning electricity into light.
100 watt LED bulbs are commonly found in streetlights, which would absolutely blind you if you installed one as a bedside lamp.