Until one side or the other is smart enough, wise enough, BIG enough, to say "enough!". But you're right, Israel's whole policy of dealing with Hamas in Gaza is counterproductive, it boosts Hamas, and further delegitimitizes Israel in the eyes of the world. What does Hamas really have to gain by firing its piddling assortment of weapons towards Israel? What 'military' objective does it serve in the face of Israel's formidable arsenal? Israel clearly wins each battle...but guess who is winning the war?
from the article: Israel must recognize Hamas' government in Gaza