Donald Trump took credit for Israeli Prime Minister Benjamin Netanyahu’s stronger-than-expected performance in Israel’s election.