For God to be completely righteous, He must punish evil. To not do so is to be less than completely good.
We all deserve this wrath and are spared only through the grace of Christ. If there was another way to avoid the wrath, then Christ died needlessly.