The giving of the Law did not affect justification by grace through faith alone. The purpose of the Law was to point us to our need for the promised Messiah.