A nuclear bomb is better. That would wipe out you and all the other lightsaber wielding maniacs there are out there.
It's still too imprecise. With a lightsaber you can do a lot of important things like cutting open a can of peaches when you want to eat some when you accidentally left the can opener back on the ship.