Isn’t it ok to hate a particular sin, but not the person?

I won’t specify the sin due to controversy.
Isn’t it ok to hate a particular sin, but not the person?
Post Opinion