The first four commandments are our duty to God. The last six commandments are our duty to mankind. Jesus said, "For verily I say unto you, Till heaven and earth pass, one jot or one tittle shall in no wise pass from the law, till all be fulfilled. Whosoever therefore shall break one of these least commandments, and shall teach men so, he shall be called the least in the kingdom of heaven: but whosoever shall do and teach them, the same shall be called great in the kingdom of heaven." Matthew 5:18,19
Revelation 22:14 "Blessed are they that do his commandments, that they may have right to the tree of life, and may enter in through the gates into the city."