Those precepts are both in the bible. The difference is that the former was in the mosaic law, before Christ. The latter was by Christ and was talking about relationships, not law.