The Tories had an unassailable majority in parliament.
Labour pointing out flaws in the Tory bills in parliament (which is what the Opposition are supposed to do) did not hinder the Tories recklessly passing laws that would, as Labour pointed out, get tossed by the courts.
Quit gaslighting, Labour did not create the problem, it was the Tories who failed - despite an unassailable majority in parliament.