Question: how much energy is needed to destroy the sun?
Answer: The gravitational binding energy of the sun will give a loose approximation for the energy needed to destroy it by (essentially) removing all it's constituent matter. Lucky for us, this calculation has already been made; the sun's gravitational binding energy is around 6.9 x 1041 (41 is sup script)Joules.