Upvote:2
Consider the story of Abraham pleading with God to spare Sodom from His wrath, as found in Genesis 18:
The men turned away and went toward Sodom, but Abraham remained standing before the Lord. 23 Then Abraham approached him and said: “Will you sweep away the righteous with the wicked? 24 What if there are fifty righteous people in the city? Will you really sweep it away and not spare the place for the sake of the fifty righteous people in it? 25 Far be it from you to do such a thing—to kill the righteous with the wicked, treating the righteous and the wicked alike. Far be it from you! Will not the Judge of all the earth do right?”
Abraham challenged God to obey his own commandment. Years later, Moses, too, (in Exodus 32) pleaded with God to not destroy the Israelites, reminding him of his promises to Abraham, Isaac and Israel, and God relented from His anger. He remained faithful to his promises; he obeyed his own word.
In the same way, Jesus obeyed all the commandments of God. As the Word of God, Jesus is the very embodiment of those commandments, hence the embodiment of obedience. In Matthew 5:17-18, Jesus said:
“Do not think that I have come to abolish the Law or the Prophets; I have not come to abolish them but to fulfill them. 18 For truly I tell you, until heaven and earth disappear, not the smallest letter, not the least stroke of a pen, will by any means disappear from the Law until everything is accomplished."
Jesus fulfills the commands by obeying them. In John 14:15,23, Jesus tells his disciples:
“If you love me, keep my commands."
“Anyone who loves me will obey my teaching. My Father will love them, and we will come to them and make our home with them."
Jesus equates obedience and love. The greatest commandments are to love God and love our neighbor, so by obeying the Father, Jesus shows that He loves Him.