As far as I know, the title is wrong, only the senate approved the bill. That's not enough for France to legalize anything The way it works in France is there's two chambers of parliament, the senate and the Assemblée nationale (that I translate to "the parliament"). Unless the law changes something in the constitution, the senate is just there to advise the parliament. If they'd voted no, it wouldn't have mattered.…
Parliament certainly didn't stop Macron from pushing threw the pension reform against the will of virtually everyone. It's a pity that most of the media doesn't cover the legitimate concerns of the french population.
Then the parliament can whip out a motion of non-confidence, which, if signed by 50% of the parliament, removes the law and fires the government.
Stress on the "signed by 50% of the parliament" => If a congressman doesn't sign it, it's counted as a no. They almost never go through. Not to mention that a fair number of congressmen can be against a law, but also against firing the government. So by definition they always have that advantage on these votes too