That it may be well with thee, and thou mayest live long on the earth.
Note that God is asking for good behavior on the part of the child and to encourage it He gives a positive reward to bring the child to desire to behave well. This is actually a Biblical principle that these child experts of today are encouraging us to use. If you do this, then you will gain this reward. However, notice that the reward is way far off in the future, not something that the child will gain immediately. This encourages one of the growth developments that children should learn - putting off gratification. We teach our kids today that they should get everything that they want - NOW - not in the future when they can afford it, or when they have done some work to earn it.
Now is the key to the now generation and believe me we have done a good job of training this present generation of kids in the NOW. They want it all NOW, not when they are fifty and have earned the money to pay for it ALL.
This is part of the problem with government, it is run by a bunch of spoiled elected officials that got it all RIGHT NOW when they WANTED it and are not willing to wait for anything. The national debt is on the increase due to their unbridled spending to get it ALL for that WANTS it ALL!
"Live long" is of interest in three ways. First, that it is a reward for a proper lifestyle as a child, and secondly it is not wrong to want to live long. Thirdly, to not want to die must be somewhat normal if we want to live long here.
Let's expand on those for a moment.
a. Reward for living correctly. What an encouragement to the child to have a reward from God for living as they ought. It is also a reward to the parent because they child will not precede them in death most likely and the grand children will most likely be forthcoming.
b. Wanting to live longer. It is natural to want to live in this life as long as possible. Very few find a desire to check out early, and most of them do so because of some mental condition that puts them into depression.
To want to live longer is not abnormal for the believer, for even Paul seemed to plan and have desires toward the future.
c. Not wanting to die. Some have criticized believers that were terminal for wanting to live. To fear death might be something to be considered, but to want to live is most natural. Death is the last ENEMY, according to Paul the apostle so why would we want to throw ourselves into the enemy's arms?