Headlights don't work but flash to pass does
Check your wiring at the headlight switch. Sometimes the wires melt and burn over time or you have a loose connection. You will need to remove the switch to verify.
Search Mazda B-Series Pickup Questions
Are you a UK consumer? CarGurus now has a discussion forum in the UK.
Mazda B-Series Pickup Experts