Does the law given to Moses contradict the promise given to Abraham? No. The law doesn't contradict the promise. It simply gives an alternative to the promise. The law offers man a choice. You see, we can either receive a righteous standing before God by simply believing what God saysor we can keep every point of the law. If any legal system could bring a person salvation, it would be the Ten Commandments. The law is absolutely perfect. The only problem with it is this: It can't be kept.
"You've heard it said you're to love your neighbor, but I say, you're to love your enemy," Jesus said in Matthew 5. "Therefore, if you've ever been angry at an enemy, you're guilty. You've heard it said you're not to swear falsely, that you're to commit your oaths to the Lord. But I say unto you, anything more than a simple yes or no is from the evil one."
If you've ever failed to love your enemy or made a promise and backed it up with anything more than a simple yes or no, you're guilty.