If you read these books and compare them, you come to the conclusion that the purpose is actually the same. The commandments are a guideline for life.