The passenger headlight is dim when on, bought new bulb, it did not fix it? on 2010 Chevrolet Cobalt

2010 Chevrolet Cobalt LT sedan, driver's side headlight stays dim. Replaced with new bulb, did not solve problem. Can't figure out why this one headlight will not work.

1 answer 2 comments
Have the voltage and ground tested at the headlight plug, could be the plug (or connector) is the culprit.
thank you for the suggestions, I will have that checked, I have a friend that has a cobalt also, with the same problem, what's the odds, thanks again will give that a check.
You're welcome