Obedience is not what our children do in our presence but how they conduct themselves in our absence. This is what was on Moses' heart as he prepared to die. His great concern was that the people of Israel would enter into rebellion and lose all the blessings Yahweh intended for them:
"Set your mind on all these words I’m testifying against you right now, because you must command your children to perform carefully all the words of this Instruction." (Deut 32:46)
This was important because Yahweh had given a lengthy list of blessings that would flow in obedience and a long list of curses that would fall on them in rebellion. Moses warned:
"This is no trivial matter for you—this is your very life! It is by this means alone that you will prolong your life on the fertile land you are crossing the Jordan River to possess." (v. 47)
Those are great words "this is your very life!" Don't twist it though. The end game is not obedience but obedience enables a deeper and greater relationship with the One who loves us. The relationship is the end game.
This is why Jesus said, "If you love me you will do what I have said". Obedience is the manifestation of love and it is in this climate of loving obedience that Yahweh's blessings flow in and through us. We cannot expect to walk in rebellion and receive blessing. This would make Yahweh a liar.
In fact, it must be understood, because we are legitimate children, rebellion will bring correction. Because our Father loves us he will correct us. This should be simple enough to understand because it is also true of good parenting on earth.
Motivation is an important thing with Jesus. He did not obey Father because he expected some great reward or because he was trying to manipulate him. Jesus prayed, "not my will but yours be done" because he loved Father and only wanted to walk in obedience because of that love. This is the example Jesus set for us so that we would understand the root of obedience.
What it comes down to is, do we really love Father? Then obey.