Not all flight hours are equal.
Airline pilots rack up a lot of hours but get very little "stick time", and what they do get is extremely sedate flying to not scare the passengers / spill their drinks. Their primary skills are pushing buttons on the autopilot and talking in the radio and transcribing clearances.
A military pilot gets more effective stick time. But aerobatic pilots, ag pilots (but I repeat myself), and glider pilots gain a LOT more experience and skill per hour flown than an airline pilot.
I mean, just look at this glider flying lesson: