I don’t think that that Israel wanted Hamas to overthrow the Fatah.
Israel wants two parties of Palestinians fight each other so it could credibly claim to not having anybody to negotiate with, meanwhile building up some new settlements.
And that plan worked out for them for many many years.