Numbers 8:25
and at the age of fifty years they must retire from performing the work and may no longer work.
Numbers 31:14 But Moses was furious with the officers of the army, the commanders over thousands and commanders over hundreds, who had come from service in the war.