Boyfriend lied and I'm now depressed

So I recently broke up with my boyfriend because he lied about having genital warts. He claims he didn't know what they were but was having active outbreaks since before he started talking to me (this is what he said) but didn't get them checked out until he and I already had sex (always with a condom) and I gave him a blow job. I have been burning and itching since the last time we had sex and he pretended to know nothing about it or what it could be, and finally got tested on Thursday and apparently the doctor confirmed it was genital warts because he was having an outbreak. He said he didn't tell me before because he was "scared." And this really altered my view in relationships. I thought I had finally found a good guy who cared for me and loved me, yet he didn't even care enough to get checked before we had sex to make sure it wasn't something? I'm like very depressed now and just feel so sad and hurt. He tried to put the blame on me for reacting badly, but it's not that he had something, it's the fact that he didn't tell me that he thought he might. And obviously it caused enough worry that he asked the doctor about it. I'm just so upset and not dating or having sex for a long time and I'm starting to think relationships aren't for me.