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

31. Water shapes its course according to the nature of the ground over

which it flows; the soldier works out his victory in relation to the foe whom he is facing.