Try connecting the bulb DIRECTLY to the battery, just to see if it lights up properly.
If it does (almost certain) then you have a problem with the circuit not passing enough current......that could be in the connections, in the switch, the wiring or the earth point.
If you have a DMM, you can test the circuit by looking at the resistance at various places, starting from the battery then working to the switch, then to the back of the bulb etc, until you find a place where there is high resistance. (which could be a rusty wire inside its sheathing, a poorly crimped connection, a wire where some or most of the twisted strands have become broken etc.)
If you're not confident with a DMM, you can try using a fresh length of wire and effectively by-passing the parts of the circuit.....EG go from battery live to the back of the bulb IN SITUE.......that bypasses the switch and everything inbetween the battery and the bulb.....if it's STILL dim, it means the crap bit of the circuit is beyond the bulb and probably at the earth point.....to confirm that for sure, you then put the fresh wire from the bulb earth terminal to the battery earth pole.......then the bulb should be bright.
Approach it logically and step by step and you should be able to track down the problem
