Very true regarding comparing yourself with the person you were yesterday. When done correctly with the right mindset, this can be a major factor in accelerating positive growth within yourself.
Comparing yourself to others is almost always a surefire way to feel like shit.