Ps 132:12

132:12 If your sons keep my covenant. There was a conditional element in the Davidic covenant. His physical descendants would only rule successfully in Jerusalem if they were obedient to the covenant.