House Speaker Nancy Pelosi (D., Calif.) said that House lawmakers will take up legislation on Wednesday to stop a nationwide strike by railroad workers, saying Congress needs to intervene to prevent devastating job losses.

In a press conference, Mrs. Pelosi said that the House will aim to quickly pass legislation that accepts the original labor union agreement negotiated by Biden administration officials plus additional railway worker benefits added from subsequent negotiations.

“I don’t like going against the ability of unions to strike, but weighing the equities, we must avoid a strike. Jobs will be lost, even union jobs will be lost, water will not be safe, product will not be going to market,” she said Tuesday after meeting with President Biden and congressional leaders of both parties at the White House. “That must be avoided.”