The answer is that you first take away what they like, and then they will listen to you. The condition of a military force is that its essential factor is speed, taking advantage of others' failure to catch up, going by routes they do not expect, attacking where they are not on guard. Glean from rich fields, and the armies will have enough to eat. Take care of your health and avoid stress, consolidate your energy and build up your strength. Put them in a spot where they have no place to go, and they will die before fleeing.
Warriors exert their full strength.
When warriors are in great danger, then they have no fear. When there is nowhere to go they are firm, when they are deeply involved they stick to it. If they have no choice, they will fight. For this reason the soldiers are alert without being drilled, enlist without being drafted, are friendly without treaties, are trustworthy without commands. Prohibit omens to get rid of doubt, and soldiers will never leave you.