This is floating around the Internet again... It didn't sound like Bill Gates - at least some of it. In fact it should be attributed to Charles J. Sykes... Here's an article that claims it was incorrectly attributed.
Rule 1: Life is not fair - get used to it!
Rule 2: The world doesn't care about your self-esteem. The world will expect you to accomplish something BEFORE you feel good about yourself.