Barack Obama actually said...
I will say this, that we have consistently been willing to do the right thing even when it's not expedient.
Context
Remarks at a Democratic Senatorial Campaign Committee Fundraiser in New York City
07/20/2015