October 7 attacks necessary step