In most major middle eastern democracies the military serves as the more moderate counter to religious radical populism. (Turkey, Egypt)
In the same way with netanyahus defeat in Israel to a former IDF chief allied with Arab parties, Israel is the same.