You have to be careful about comparing the US and Canadian military retirement and pension systems.
Yes, you can retire from the US military after 20 years and draw a half pension. They also have very much an “up or out“ promotion policy. There is no such thing as a career Cpl or Captain in US Service. You don’t make the grade for the next rank- you get told to retire.