The Art of War by active 6th century B.C. Sunzi

42. If soldiers are punished before they have grown attached to you,

they will not prove submissive; and, unless submissive, then will be practically useless. If, when the soldiers have become attached to you, punishments are not enforced, they will still be useless.