But if salvation comes through the Atonement which God will provide, then why was the law of Moses given?