Of course. Due process means a state can't "do whatever it wants" within it's own borders because it should respect the rights it's citizens have. Glad you agree with me now.
A state is just a collection of individuals - it's an abstract entity, which exists to secure the rights of it's citizens.
No, the individuals that make up the citizenry of the state delegate their authority to the state. It's your responsibility to survive, to live, and to recognize the rights of others. But we delegate some of the means to secure our right to life - such as defense and justice. We organize a collective defense, police force, judicial system, etc.. Even though you delegate your authority and means to the state, the state ultimately isn't responsible for your survival (your realization of your right to life), you are.
I'm basically summarizing a line from the Declaration of Independence, but it seems you may not agree with it (especially if said government were Israel):
We hold these truths to be self-evident, that all men are created equal, that they are endowed by their Creator with certain unalienable Rights, that among these are Life, Liberty and the pursuit of Happiness. — That to secure these rights, Governments are instituted among Men, deriving their just powers from the consent of the governed, — That whenever any Form of Government becomes destructive of these ends, it is the Right of the People to alter or to abolish it, and to institute new Government, laying its foundation on such principles and organizing its powers in such form, as to them shall seem most likely to effect their Safety and Happiness.