it literally being in the charter of Hamas to destroy all Jewish people in Israel
You mean the 1988 one written 50 years ago that immediately became irrelevant just a few years after it was written? That is not a good argument, please.
en.wikipedia.org/wiki/2017_Hamas_charter
While the 1988 Hamas Charter had been widely criticized for its antisemitism, the 2017 document removed the antisemitic language and stated that Hamas’ fight was not with Jews as such because of their religion but with the "Zionist project."When asked, Hamas leaders explained that “The original charter has now become a historical document and part of an earlier stage in our evolution. It will remain in the movement’s bookshelf as a record of our past.”