Makes me think of Thanos from Avengers: Infinity War.
Once Thanos has control of every Infinity Stone, he snaps his fingers, killing half of the population of the universe. He claimed to be doing it to make the universe better for the ones who would remain.