THat is what you get for not reading the passage in context in the original language.
It is better understood if you read the entire set of passagtes. That was only a small section of it. A further reading about how it doesn't mean what you claim it means can be found at
Torat Emet - Mishpatim - An Eye for an Eye
An extract
The answer is that understanding the Bible requires more than reading one verse. You have to read that verse in its context and compare its language with similar language throughout the Bible. Our contention is that "an eye for an eye" in its most literal and simple meaning is "an eye's worth for an eye".
Let us look at the two passages in the Torah that have the phrase "an eye for an eye" and analyze them carefully.
When individuals quarrel and one strikes the other with a stone or fist so that the injured party, though not dead, is confined to bed, but recovers and walks around outside with the help of a staff, then the assailant shall be free of liability, except to give for the loss of time, and to arrange for full recovery.
When people who are fighting injure a pregnant woman so that there is a miscarriage, and yet no further harm follows, the one responsible shall be fined... If any harm follows, then you shall give life for life, eye for eye, tooth for tooth, hand for hand, foot for foot, burn for burn, wound for wound, stripe for stripe.
(Exodus 21:18-19, 22-25)
Anyone who kills a human being shall be put to death. Anyone who kills an animal shall make restitution for it, life for life. Anyone who maims another, what he inflicted will be done to him: fracture for fracture, eye for eye, tooth for tooth; what injury he gave to another will be given to him. One who kills an animal shall make restitution for it; but one who kills a human being shall be put to death.
(Leviticus 24:17-21)
Context
Let us first consider the passage in Exodus. It begins in verses 18-19 with two individuals quarreling and then one injuring the other. This is a case of intentional damage. What is the punishment for such intentional damage? If the injured party survives and this is not a case of murder, then the punishment is "the assailant shall be free of liability, except to pay for the loss of time, and to arrange for full recovery". In the case of intentional damage the punishment is purely financial. (Verses 20-21 discuss intentional damage to a slave which is not our topic)
Verses 22-25 discuss the case of two people who are fighting and accidentally hurt a third party. In this case of accidental damage, the punishment is an "eye for eye, tooth for tooth, hand for hand..." Is it possible that an intentional injury is only punished with monetary damages but an accidental injury is punished more harshly with an actual physical punishment?