Chesa certainly didn't invent the problems, prop 47 and other nonsense is typically Californian, and SF "deserved" Chesa in a way for harboring stupid anti-enforcement policies elsewhere, but he took to the job with gusto and enjoyed blaming things on racists and conservatives when people complained. He spent a year yammering on about how he was fighting anti-asian hate and then a largely asian coalition got rid of him - showing how little even the target of his "benevolence" thought of him.
He specifically took the position of DA because he planned not to do the job. He was "looking for alternatives to prison and incarceration" which is not the job of a DA. His job was to prosecute criminals and let others decide on policies.
Yeah, he shit on SF.