1 Kings 11:10

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

1 Kings 6:12-13

As to this house which you are building, if you will walk in My statutes and do My judgments and keep all My commandments, to walk in them, then I will perform My work with you which I spoke to David your father.

1 Kings 9:4-7

And if you will walk before Me as David your father walked, in integrity of heart and in uprightness, to do according to all that I have commanded you; and if you will keep My statutes and My judgments,

2 Chronicles 7:17-22

And you, if you will walk before me, as David your father walked, and do according to all that I have commanded you, and shall observe My statutes and My 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
As to this house which you are building, if you will walk in My statutes and do My judgments and keep all My commandments, to walk in them, then I will perform My work with you which I spoke to David your father.
1 Kings 9:4
And if you will walk before Me as David your father walked, in integrity of heart and in uprightness, to do according to all that I have commanded you; and if you will keep My statutes and My judgments,
2 Chronicles 7:17
And you, if you will walk before me, as David your father walked, and do according to all that I have commanded you, and shall observe My statutes and My judgments,