go along to get along

📖 general
Meaning
To agree with a group or accept a situation, even if one doesn't fully support it, in order to avoid conflict or maintain harmony.
Literal Meaning
To physically accompany others to maintain company.
Example
“He often just goes along to get along, even when he disagrees with the decision, just to keep the peace.”