It's so wrong that rich folks can just skip jail. I'm just reading Harari's Sapiens, and one of his points is that it's crazy that today it's accepted that poorer people are discriminated against. That many people think that being poor is a not something that happens by chance, but by people being lazy or dumb.
He hasn't been convicted of a crime. What's wrong is for people who haven't been convicted of a crime to spend time in jail, especially in situations like this where he isn't posing a physical danger to the community (and indeed won't even be leaving the house anyway).