TEL AVIV — It was a referendum on him and he nailed it. Nobody can take that away from Benjamin Netanyahu. This summer, in his fifth term, he will surpass David Ben-Gurion as the longest-serving Israeli prime minister. Enough said.

His victory contains a warning for any Democrat still imagining that the 2020 election will bring an easy victory over Donald Trump. The Netanyahu playbook will be President Trump’s next year. Gather nationalist and religious voters in your camp, add in a strong economy, dose with fear, sprinkle with strongman appeal, inject a dash of racism and victory is yours — whatever indictments are looming.

It’s not that this could happen. It will happen, absent some decisive factor to upend the logic of it. Netanyahu is savvier than Trump, but they share a shrewd assessment of how to control and manipulate the politics of spectacle, as well as a fierce determination to stay out of jail. They campaign ugly.

Exactly a century ago, Ben-Gurion said, “Everyone sees the difficulty of relations between Jews and Arabs, but not everyone sees there is no solution to that question.” Netanyahu’s solution is by now clear. He is a true believer in Greater Israel and will not give up one inch of the land between the Mediterranean and the Jordan River. There will be no Palestinian state on his watch. Period.