Barack Obama actually said...
It is my strong belief that Israel has not just the right, but the obligation to protect itself.
Context
Remarks Prior to a Meeting With Prime Minister Benjamin Netanyahu of Israel
11/08/2015