White House press secretary Sarah Huckabee Sanders tore into Republican senators who plan to vote against President Donald Trump’s declaration of a national emergency to seize border wall funding.

“My message to that group is to do your job,” Sanders said during an appearance Tuesday on Fox News’ “Fox & Friends.” “If you had done what you were elected to do on the front end then the president wouldn’t have to fix this problem on his own through a national emergency.”

Trump declared a national emergency last month in an effort to bypass congressional approval for funding to build his long-promised wall along the U.S.-Mexico border. The declaration would allow him to reroute billions of dollars from Defense Department construction projects toward his wall.

Senate Majority Leader Mitch McConnell (R-Ky.) on Monday said he expects a resolution to block the declaration will pass in the Senate, though he said he does not believe it will receive enough votes for lawmakers to override a veto.

“I think what is clear in the Senate is that there will be enough votes to pass the resolution of disapproval, which will then be vetoed by the president and then in all likelihood the veto will be upheld in the House,” McConnell told reporters.