If it makes you feel any better George - given your battery had died, there must have been a real problem with either the alternator or the battery, in addition to the light having failed.
Generally I tell myself that if I replace a part with a new one in search of a problem, that turns out not to be the cause, then at least that part will be good for many years. AKA as 'throwimg parts at it' ...