If you see an attractive person, you will find that self-restraint is the ability you have against your desire.
 Epictetus, Enchiridion (125). copy citation

add
Author Epictetus
Source Enchiridion
Topic restraint desire
Date 125
Language English
Reference
Note Translated by Elizabeth Carter
Weblink http://classics.mit.edu/Epictetus/epicench.html

Context

“Say this to yourself with regard to everything that happens, then you will see such obstacles as hindrances to something else, but not to yourself. 10. With every accident, ask yourself what abilities you have for making a proper use of it. If you see an attractive person, you will find that self-restraint is the ability you have against your desire. If you are in pain, you will find fortitude. If you hear unpleasant language, you will find patience. And thus habituated, the appearances of things will not hurry you away along with them. 11. Never say of anything, "I have lost it";” source