That law was for the Israelites. You don't understand the Bible. When reading it, you need to ask who, what, why, where and when.
39 Old Testament
Genesis- The creation of the world, sin, flood and birth of Israel
Exodus to Esther- History of the nation of Israel
Job to Proverbs- the books of poetry and wisdom
Isaiah to Malachi- Prophecy or foretelling of the future events to come.
27 New Testament
Matthew to John - Four Gospels representing the life, death and resurrection of Jesus Christ now with all authority in Heaven and earth.
Acts- Birth of the Church (The Bride of Christ)
Romans to Jude - Letters to the Churches
Revelations - The ultimate future plans for: The Church, Heaven, Hell, a New Heaven and a New Earth.
Here are some Bible Study Resources for anything you may want to look up:
http://www.Biblegateway.com
http://www.Ntgateway.com
http://www.Bible.org
http://www.bible-history.com
http://www.answersingenesis.org/