Am I Wrong?

So my coworker likes me and I like him. He has a girlfriend that works with us. I told him that I like him but nothing would ever happen because he has a girlfriend and I respect their relationship.