We were rejected four times before getting in. I've talked to others that were rejected six times before getting in. Most people that get into YC have been rejected before. Don't sweat it.
I was rejected 4 times over the years before getting in. We ended up being among the top in our batch after just being around for 2.5 years (this is my 4th company)