党同伐异

dǎng tóng fá yì

to be narrowly partisan

to unite with those of the same views but alienate those with different views

党

dǎng

party

同

tóng

like

伐

fá

to cut down

异

yì

different