He didn't want to destroy the universe, but he was backed into a corner, and had to demonstrate to everyone to be careful what they wished for.
It comes down to thinking of things from a different point of view.