"Initial flight training, or the time to become an instructor, takes a year or two. After that, building the airline-required 1,000-1,500 flight hours (depending on the selected pathway) generally takes 2–5 years more to achieve, depending on whether the pilot works as a CFI, crop duster, aerial photographer, banner tower, etc
Once at the airlines, upgrading to captain has black-and-white regulations regarding hours and experience. Namely, US airline captains must have flown 1,000 hours as second in command (SIC) at the airline level and be at least 23 years old"
https://simpleflying.com/new-pilot-captain-progression-timeline/
10 years sounds good to you so that's what you said.
Just another blustering, AN know-nothing, plucking "truth" out of their own tiny "airspace".