This sounds absolutely terrible. Something not to far from victim blaming.
Don't have a home? Learn how to be happy homeless! Husband gave you a black eye? Tone down your expectations!
The correct quote is ”COMPARISON IS THE THIEF OF JOY.” – THEODORE ROOSEVELT
"Comparison is the thief of joy" - As quoted in Becoming a Great School (2013) by Cooper, Gustafson and Salah, p. ix"
Nothing wrong with expectations, ambitions, drive.