It's well within the authority of the POTUS to secure the borders. Bush failed to do so, and made the situation substantially worse by pushing for amnesty, even the promise of which attracts additional people across.
Who in the house or senate supported securing our borders?