It's obvious that many Israelis are pro-democracy for themselves, but not for Palestinians. Look at the demonstrations against Netanyahu's plan for amending the basic law concerning their Supreme Court, but the media in Israel brainwashes people to have a negative attitude demonizing Palestinians. So when 7 October happened, it was very easy for politicians and the military to incite genocidal thoughts.
Until the bubble of existential paranoia is popped, it will be impossible to have peace in the Middle East.
Lebanon used to be a country with many religious groups living in harmony despite foreign interference, such as US in 1958, Israeli overflights in the late 60s which I saw, then the 1975-90 Civil War when power sharing broke down, and IDF invasions in 1982 and 2006. Some people there really want a non-sectarian democracy, but the French set up a system that perpetuates sectarian divisions which has finally led to a kleptocracy that has bled the country to death.