> Defending borders is the most basic function of the state. It quite literally does not have anything better to do than to defend its borders.
Fundamentally, everything in your post down to this ending boils down to whether or not you think that immigrants coming into the country is a good thing or not. People will try to split hairs over "doing it the right way," when until the 1900s doing it the right way was basically just having enough financial stability to make it here - many states had nothing beyond 'means testing' that would easily be passed if you could afford to make it to America rather than stowing away, and many states had less than that. For most of American history, immigrating properly was literally just showing up.
For the overwhelming majority of illegal immigrants, the only difference between them and the legal immigrant is the amount of paperwork on file. And many of us arguing that that paperwork matters are beneficiaries of a time where that paperwork wasn't necessary.
It's very explicitly a case of "Fuck you, got mine."
You can be butthurt all you want, we don't owe foreigners access to our country.