what you lose on the swings you gain on the roundabouts idiom UK saying (also it's swings and roundabouts)
有得也有失;有利也有弊;失之东隅,收之桑榆
said to mean that the positive and negative results of a situation or action balance each other
"The route through town would be shorter, but there'll be more traffic." "Well, it's just swings and roundabouts." “穿过镇子的这条路更近一些,但是车也更多。”“哦,就是有利也有弊。”