1 Kings 11:10

And had given him orders about this very thing, that he was not to go after other gods; but he did not keep the orders of the Lord.

1 Kings 6:12-13

About this house which you are building: if you will keep my laws and give effect to my decisions and be guided by my rules, I will give effect to my word which I gave to David your father.

1 Kings 9:4-7

As for you, if you will go on your way before me, as David your father did, uprightly and with a true heart, doing what I have given you orders to do, keeping my laws and my decisions;

2 Chronicles 7:17-22

And as for you, if you will go on your way before me as David your father did, doing whatever I have given you orders to do and keeping my laws and my decisions:

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
About this house which you are building: if you will keep my laws and give effect to my decisions and be guided by my rules, I will give effect to my word which I gave to David your father.
1 Kings 9:4
As for you, if you will go on your way before me, as David your father did, uprightly and with a true heart, doing what I have given you orders to do, keeping my laws and my decisions;
2 Chronicles 7:17
And as for you, if you will go on your way before me as David your father did, doing whatever I have given you orders to do and keeping my laws and my decisions:

Basic English, produced by Mr C. K. Ogden of the Orthological Institute - public domain