Advice on becoming more confident with dating?

Bad experiences have rattled me and I don’t feel confident around guys. The last guy, I thought we were getting along well and the way he acted I thought he liked me, or maybe he was just overly friendly, but it was clearly the wrong time (we didn’t share feelings but one can assume) as he had decided to move back home overseas. Whilst I would have liked to see if it could have turned into something, it’s gotten me thinking about what I have been attracting of late. I don’t think it’s purely bad luck every time (I’m sure it plays a small part), but I do know that every time shakes my confidence. I’m also not a fan of online dating and don’t have the apps, I like the idea of meeting someone in person. How do I become more confident so that I can attract the right guy for me?
Advice on becoming more confident with dating?
Post Opinion