Quit sending them billions of dollars every year.
The USA doesn’t send Hamas billions a year. The USA doesn’t send a penny a year to Hamas in Gaza.
The USA does send humanitarian aid to the Palestinians, and so does Israel and a lot of other countries. Israel doesn’t have any problem with this as the government of Israel and Prime Minister Benjamin Netanyahu have said their fight is not with Palestinian civilians, but with Hamas, the terrorist organization.
US aid to Gaza is under $200M/year, with little if any of that going to Hamas. They no doubt manage to get their hands on some of it anyway, but not because we give it to them.
Hamas gets support from rich Gulf states, they don't need money from us.