A balanced chemical equation shows that energy is never lost nor gained because all of the atoms are accounted for, none of them disappear or appear out of nowhere. They always show up in the end result or as a byproduct.