Was it actually the bulb or wiring? Could be shorting somewhere in the headlight.
Our cars being the age that it is, both my highbeam's bulb holders no longer sits properly on the back of the reflector. Used some silicone sealant to glue them in space again.