How to not be bitter?

I am a 29M and have never been in a relationship. Up until recently I could not even get the time of day from any women my age. If I am totally honest this treatment hurt and made me feel rather depressed and ashamed for quite some time.

Recently however I have noticed I have been getting quite a bit more attention from a number of women my age. The problem is I just can’t get past this bitterness. Before I get straw-manned, no it is not that I am more attracted to younger women, nor is it that I think women are washed up at 30. It is just that after being rejected by women my age for so long, I am now unattracted to them due to the bitterness. How do I move past it?
How to not be bitter?
Post Opinion