In addition, the calculations for flight time for military and civilians are different. Military flight time is usually from takeoff to landing while civilians add taxi and ground movement.
Some of that is true, but civilian pilots still fly many, many, more hours in a career.
The missions are not the same, but civilian pilots fly more consistently, more often, and have longer careers in the flight deck. I have 40+ years in the airline and trained both seasoned and new pilots at the airline. Currency is a key factor in how airline pilots have a superior safety record. We just do the job more.
Military pilots in general are motivated differently - they don’t get paid more for carrier progression like airline pilots do, so the incentive to fly “bigger” and “more often” isn’t there as much. I loved trining military pilots when they came to the airline because they quickly grasped that they could make a lot more money if they wanted to fly more.