I will put My law in their minds, and write it on their hearts; and I will be their God, and they shall be My people.
In the beginning was the Word and the Word was God.
In conclusion, whatsoever ye would that men should do to you do you even so to them for this is the law and the prophets. Matthew 7:12
One believing Him therefore has the whole law in mind. The Messiah, the messenger of the covenant, stated the whole law in one easy to memorize statement.
Then He painfully died and rose from the dead, shedding forth His Spirit which lives in the hearts of believers equipping and helping them to follow the law as defined by the Messiah.