Part of the problem is that a huge portion judges sitting in courts that hear criminal cases draw from the ranks of prosecutors. Defenders make a much smaller portion of judges because the prosecutor’s office tends to have the necessary political connections to get appointed/elected.