Barack Obama actually said...
The only point of running for office was to get something done—not to posture.
Context
Remarks at the Dedication of the Edward M. Kennedy Institute for the United States Senate in Boston
03/29/2015