"government is obligated to pay for a lawyer for you if you cannot afford one"
That is an interesting edge case, in that it represents a defence against the state already attacking the individual. Lest you find the TV scenes too compelling, almost certainly this government-provided-lawyer is available to only some people, and only for some cases. So no
Can you imagine normal civil rights working that way? "Sir, sorry, you're too wealthy to exercise free speech right here.".