In his half-an-hour speech in Sharm el-Sheikh, Egypt, the US president, 79, thanked world leaders for the roles they played in the US-brokered ceasefire deal between Hamas and Israel.