This is a quote from the book "The ​Virtue Of Selfishness" by Ayn Rand
..., his goals and their actual achievement in reality. A man’s “interests” depend on the kind of goals he chooses to pursue, his choice of goals depends on his desires, his desires depend on his values — and, for a rational man, his values depend on the judgment of his mind.

Desires (or feelings or emotions or wishes or whims) are not tools of cognition; they are no
t a valid standard of value, nor a valid criterion of man’s interests. The mere fact that a man desires something does not constitute a proof that the object of his desire is good , nor that i...
read full book block explorer