This is an article from 2010. This is from a wikileak of the former Israeli chief of military intelligence to the U.S. Ambassador.
“Israel would be ‘happy’ if Hamas took over Gaza because the IDF could then deal with Gaza as a hostile state.”
Yadlin: Israel would be ‘happy’ if Hamas takes over Gaza | The Jerusalem Post