That bill was simply Trump's codified Trump's failed policy on the Southern Border.
When Trump first took office, illegal border crossings were at a 50 year low and nobody would give him money for a wall if the border was secure. So Trump set out to create a crisis at the Southern Border, cancelling foreign aid to fight the gangs, and increasing violence in their home countries.
By 2019, illegal crossings spiked so high, Trump declared a National Emergency at the Southern Border, after he completely dismanted all of the imigration courts and immigration support services along the Southern Border.
The number of illegal border crossings reached an all-time high in 2022, with over 2.2 million migrant encounters registered by the U.S. Border Patrol.
www.statista.com
The president’s decision incited instant condemnation from Democrats, who called it an unconstitutional abuse of his authority and vowed to overturn it with Republican support.
www.nytimes.com
Obama cut illegal immigration by prosecuting employers, as did Clinton. Both were more successful that any Republican President at reducing illegal crossings.