志同道合

zhìtóngdào
(idiom) to be devoted to a common cause; to be like-minded

CEDICT

to have common interests and goals

Wiktionary

彼此志趣理想一致正字〉:「志同道合便。」合志」。

重編國語辭典

彼此志趣理想一致

維基詞典

Entry Composition