Which can be the equivalent of preventing you from getting or maintaining a job in many places in the US. Yes, we need to fix that sad situation. No, the judges who need to decide on punishment can't change that situation.
If a sex offender gets an order to stay away from schools then that also might prevent them from getting or maintaining a job in many places in the US but that's just the result of their own actions.