Meaning of the word "if you can't beat them, join them" in English

What does "if you can't beat them, join them" mean in English? Explore the meaning, pronunciation, and specific usage of this word with Lingoland.

if you can't beat them, join them

US /ɪf juː kænt biːt ðɛm dʒɔɪn ðɛm/
UK /ɪf juː kɑːnt biːt ðɛm dʒɔɪn ðɛm/
"if you can't beat them, join them" picture

Idiom

if you cannot defeat an opponent or a group, it is better to cooperate with them or do what they are doing

Example:
I didn't like the new company policy, but if you can't beat them, join them.
All my friends are using that app now, so I figured if you can't beat them, join them.