Earlier quoted context omitted.
It seems he was sentenced not for stealing ribs, but because the threatened the store owner that confronted him, which is, in fact, a violent act. It also appears he was somewhat of a habitual offender, having been convincted of various violent and non-violent crimes many times previously. The sentence is somewhat harsh (eligible for parole in 12.5), but your comparison to the Taliban is absurd. EDIT: somewhat harsh…
The clarification here on the details is certainly nice to have. However, are you seriously suggesting that 50 years imprisonment is only somewhat harsh?! Taking 12.5 years at the minimum before being eligible for parole for stealing $35 ribs and "threatening" someone? By the way, saying "I've got a knife" and calling that a threat is both a stretch of what it means to threaten and what it means to call something a "…
I'm not sure about this case, but it could much like the three strike laws mentioned above. He only got five years for the robbery, five years for the threat, and forty years for his habitual criminal activity. As stated, in three-strike territory he possibly would have gotten life simply for the robbery of $35 worth of ribs.
I agree with the above, singling out Texas as some kind of outlier for this type of thing doesn't seem quite right.