Why is it illegal to opt out of society and do as you please?

For example you can't build your own home and live in it, you can't grow your own food unless you own land, you need a passport to visit other countries, everything requires ID, if you work a job and evade taxes you're arrested, even if the job is off the books, you got paid therefore the government gets a big cut.
Why is it illegal to opt out of society and do as you please?
Post Opinion