Barack Obama actually said...
I made a promise to you, not that I was going to tell you what you wanted to hear, not that I was always going to do what was popular.
Context
Remarks at a Reception for Senator Michael F. Bennet in Denver
02/17/2010