so the state can deprive persons of life , liberty and property , provided there is due process of law ; and persons may be classified into classes and groups , provided everyone is given the equal protection of the law .