set against

中上級 (B2) neutral

To make someone dislike or oppose something, or to balance one thing against another when calculating costs.

"The campaign deliberately set local residents against the new development."