What would cause an alternator to go bad?

Installing an alternator on a dead or poor battery will cause them to fail prematurely. trickle charge your battery before installing a new alternator. check all connections for corrosion especially grounds.