Why being a nice person does not work at all?

In my workplace, 500 people love me so much. But only girls that i was into never loved me, they only say that i can be a friend to them only. (I mean different times by "girls" in Total, not multiple girls at the same time)

Why do girls hate good guys? Even though I am semi bastard, and crack lots of rude jokes to them and they laugh, but deep inside they know i am a harmless and a very good guy.

Why being a nice person does not work at all?
Post Opinion