Barack Obama actually said...
We honor the lives that were lost, both American and Iraqi, to bring about a functioning democracy in a country that previously had been ruled by a vicious dictator.
Context
Remarks Following a Meeting With Prime Minister Nuri al-Maliki of Iraq and an Exchange With Reporters
10/31/2013