Guys, Every guy that talks to me ends up having a girlfriend, is there something I could be doing to always attract guys who are taken?

A guy from work told everyone he liked me. We started talking etc. Was going well he was a gent and we flirted but I was never sure what he wanted. He just pulled back one week. Started asking for nudes a lot and being a bit sleazy. One day he started talking about this girl he was "just fucking" and telling me how fit she was. I stopped speaking to him. But a month later he messaged me and we started talking again. It turned out he had actually got into a relationship with the girl and moved in with her. He was also with another girl when we started talking and claimed to like me.

Guys, Every guy that talks to me ends up having a girlfriend, is there something I could be doing to always attract guys who are taken?
Post Opinion