Are you implying that Israel is not a democracy and the government is not democratically legitimised?
The coalition government is formed by a majority coalition. And people know that, so in their vote they consider the possible coalitions. Also Netanyahus coalition partners are by all acounts even worse criminals, demanding genocide in Gaza, nuking Gaza, forcefully displacing allPalestinians in the Westbank etc.
There is a majority in Israel that voted the current government and by all means they knew beforehand what they would get.