The halakha tells us to destroy Gaza and its cities to their foundations and try to rescue the hostages by means of the war itself, certainly not by freeing terrorists or through a ceasefire.