Hearing Friends Bragging

I feel great anguish when I compare myself to ex-colleagues or good friends telling me how interesting their lives are, how successful they are, or their ideas are. The more they tell me, the more worthless and wrong I feel, I think I am not getting it and that I cannot do it.
How do I lessen this disappointment?