Sometimes personal integrity prods you into supporting a cause or proposition or candidate also supported by people who hate you.
But you can't go through life doing things based on what other people think or trying to please other people.
So just go ahead and be true to yourself. Your true friends will understand you; your false friends will betray you; your true enemies will mock you; and a few times - yes, a few times - some of your enemies will realize you're a person of integrity.
Then, they still may not like you - but they will respect you.