At least then limit your attacks on the Israeli military or police. Mass killing civilians does not do anything about the genocide of Palestine. There's a good chance it'll only make it worse.
The idea that people just being in a country are automatically complicit with the government's actions is the real mental gymnastics here. And yeah I understand that hatred can make people blind, but that does not make it justifiable.
Shoot the person harassing you, sure. That's something completely different from killing civillians arbitrarily.