2.
The Discourse on a Beautiful Woman
171.
He was dwelling at Sāvatthī, etc.
"Severe, monks, is material gain, honour and fame, etc.
For him, monks, not a single most beautiful woman in the country remains obsessing the mind of one alone, for whom material gain, honour and fame remains obsessing the mind.
Thus severe, monks, is material gain, honour and fame, etc.
thus indeed, monks, should you train."
The second.