1 Kings 11:10

and had commanded him concerning this thing, that he should not go after other gods. But he did not keep that which LORD commanded.

1 Kings 6:12-13

Concerning this house that thou are building, if thou will walk in my statutes, and execute my ordinances, and keep all my commandments to walk in them, then I will establish my word with thee, which I spoke to David thy father.

1 Kings 9:4-7

And as for thee, if thou will walk before me, as David thy father walked, in integrity of heart, and in uprightness, to do according to all that I have commanded thee, and will keep my statutes and my ordinances,

2 Chronicles 7:17-22

And as for thee, if thou will walk before me as David thy father walked, and do according to all that I have commanded thee, and will keep my statutes and mine ordinances,

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
Concerning this house that thou are building, if thou will walk in my statutes, and execute my ordinances, and keep all my commandments to walk in them, then I will establish my word with thee, which I spoke to David thy father.
1 Kings 9:4
And as for thee, if thou will walk before me, as David thy father walked, in integrity of heart, and in uprightness, to do according to all that I have commanded thee, and will keep my statutes and my ordinances,
2 Chronicles 7:17
And as for thee, if thou will walk before me as David thy father walked, and do according to all that I have commanded thee, and will keep my statutes and mine ordinances,