Going after Hamas is a useless exercise unless you first deal with the sources of their funding.
The last time we really, really won a war, we eliminated the underlying ideology as a key element of the win. I am of course talking about Nazism and Japanese militarism.