The AF loses approx 1200 pilots per year to retirements and separations. (Data directly from the flesh-peddler at AFPC). Figure Navy/USMC about 1,000? However, 60% of all Navy pilots are RW.
Not all of these fine Americans will come to mainline or even want to fly. Many haven't been actively flying or stuck in a staff job for a few years. They may have to hit the RJs for a couple years.
Bottom line, if even 75% of all Mil pilots per year (say 1100) want to fly mainline, AA needs that many pilots in 2022-2026 each year by themselves, not to mention the rest of the Big 4 and Cargo 2.
And this doesn't account for any potential "Stop Loss" the AF may apply in the future.
Historic times for airline pilots.