After the Battle, Ender want to increase the discipline and the morale of their soldiers and he want to do that by increasing the quality of their leaders.
He genuinely believe that The Attitude of the leader will definitely seen and mirrored by all the followers, which will determine the final outcome of the future battles.