What motivated Christ to go to the cross?

The love of God for humanity; His love put Him there to fulfill the demands of the Mosaic Law.

Watch the Teaching: Is Keeping the Commandments Enough to Be Saved?