Confucius, Analects 16.7.
“The gentleman has three things to be cautious about:
In his youth, when his blood and energy are not yet settled, he must be cautious about sex.
In his middle years, when his blood and energy are just strong, he must be cautious about fighting.
In his old age, when his blood and energy are already weak, he must be cautious about greed.