Sometimes it makes sense to compromise in politics. Sometimes a deal is a good deal and you should take it, because the country will benefit from it.
And one of the best examples in recent memory is a 2015 deal between the Republican Congress and Barack Obama concerning oil exports and green energy subsidies.