This is a quote from the book "The Virtue Of Selfishness" by Ayn Rand
...or suffering.” Happiness is the successful state of life, suffering is the warning signal of failure, of death. Just as the pleasure-pain mechanism of man’s body is an automatic indicator of
his body’s welfare or injury, a barometer of its basic alternative, life or death — so the emotional mechanism of man’s consciousness is geared to perform the same function, as a baromete
r that registers the same alternative by means of two basic emotions: joy or suffering. Emotions are the automatic results of man’s value judgments integrated by his subconscious; emotions are...
read full book