1 Kings 11:10

And he had commanded him concerning this matter not to go after other gods, but he did not keep that which Yahweh commanded.

1 Kings 6:12-13

"[Regarding] this temple that you are building: if you walk in my ordinances and if you do my judgments and you keep all my commandments to walk in them, then I will establish my promise with you which I made to David your father.

1 Kings 9:4-7

As for you, if you walk before me as David your father walked, with {integrity of heart} and with uprightness, to do according to all that I have commanded you, [and if] you keep my ordinances and my judgments,

2 Chronicles 7:17-22

Now [as for] you, if you will walk before me as David your father walked and do according to all that I have commanded you and will keep my ordinances and judgments,

Treasury of Scripture Knowledge

Summary

And had commanded him concerning this thing, that he should not go after other gods: but he kept not that which the LORD commanded.

Bible References

Commanded

1 Kings 6:12
"[Regarding] this temple that you are building: if you walk in my ordinances and if you do my judgments and you keep all my commandments to walk in them, then I will establish my promise with you which I made to David your father.
1 Kings 9:4
As for you, if you walk before me as David your father walked, with {integrity of heart} and with uprightness, to do according to all that I have commanded you, [and if] you keep my ordinances and my judgments,
2 Chronicles 7:17
Now [as for] you, if you will walk before me as David your father walked and do according to all that I have commanded you and will keep my ordinances and judgments,