Barack Obama actually said...
...it would be a moral failing for me as president of the United States, and a moral failing for America, and a moral failing for the world, if we did not protect Israel.
Context
Interview with Jeffery Goldberg of The Atlantic
05/18/2015