Prime Minister Benjamin Netanyahu cast his ballot in Jerusalem, urging Israelis to vote “the right way” in a pivotal election.