The state does do it. It's called a criminal record which is strikingly easy to obtain in the U.S. which has a law for everything imaginable. If you've ever had any kind of criminal activity, ever, even from something dumb in your youth, the United States has a log of it, which employers use to discriminate against that person. Forever. It doesn't go away. The "miscreant" is then forced either into a life of crime, which puts them into prison or worse.