Every now and then, the phrase "let the punishment fit the crime" gets thrown around in a similar way to "an eye for an eye." Both can feel satisfying to say in the moment, but they're not usually helpful to running an effective modern legal system.
However, that may depend on how exactly someone intends to make the punishment fit the crime. After all, whether one Missouri judge's attempt to do that has any impact or not, it won't do any harm.