Using your logic - since the Israelis know that they are outnumbered and that given a chance no one will spare them, they have decided that offence is the best form of defence. When their opponents know that their actions will be met with a disproportionate response by Israel, it makes them pause and think twice about trying something against Israel.