Confucius. Book 4, Chapter 2.
Book 4, Le Jin.
The Master said, "Those who are without virtue cannot abide long either in a condition of poverty and hardship, or in a condition of enjoyment. The virtuous rest in virtue; the wise desire virtue."
Text source: Lun Yu, The Confucian Analects. Translated by James Legge.