Brake lights and hazards not working! Help

If you are not getting 12V going in and out of the switch when it is "closed", I'd assume the switch is bad. Double check this by testing for continuity(ohm meter) with the switch "closed", meaning pressing on the pedal.

Do you have an extra known-to-be-good emergency flasher you can throw in there.
So I double checked the switch and I’m actually not getting power going to white wire out of switch with pedal pressed or not pressed. But I ran a number wire to get power to the white and still no brake lights and yes I swapped out hazards flasher and still get nothing. So I’m kinda stumped cause clearly my switch isn’t working but again after I ran 12v directly bypassing the switch the lights still did not come on. Key was on by the way