What does the saying mean, “An enemy of my enemy, is my friend”?

Answer :

Answer:

A concept that two parties have a common enemy, they can work with each other to advance their common goals

basically what the first answer said lol