Given that you've clearly just looked these things up to justify yourself post-hoc, you should now know that there's no comparison with sham plebiscites in totalitarian countries (China holds proper-ish elections, at local level only, and only for vetted Communist Party candidates).
My point stands. The people of Gaza chose Hamas, a genocidal terrorist group, in a free and fair election. That doesn't justify what's happening to them today, but it's a fact.