1 Kings 11:10

and had commanded him concerning this thing, that he should not follow other gods; but he did not observe (remember, obey) what the Lord had commanded.

1 Kings 6:12-13

“Concerning this house which you are building, if you will walk in My statutes and execute My precepts and keep all My commandments by walking in them, then I will carry out My word (promises) with you which I made to David your father.

1 Kings 9:4-7

As for you, if you walk (live your life) before Me, as David your father walked, in integrity of heart and in uprightness, acting in accordance with everything that I have commanded you, and will keep My statutes and My precepts,

2 Chronicles 7:17-22

As for you [Solomon], if you will walk before me as your father David walked, and do everything that I have commanded you, and observe My statutes and My 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 which you are building, if you will walk in My statutes and execute My precepts and keep all My commandments by walking in them, then I will carry out My word (promises) with you which I made to David your father.
1 Kings 9:4
As for you, if you walk (live your life) before Me, as David your father walked, in integrity of heart and in uprightness, acting in accordance with everything that I have commanded you, and will keep My statutes and My precepts,
2 Chronicles 7:17
As for you [Solomon], if you will walk before me as your father David walked, and do everything that I have commanded you, and observe My statutes and My ordinances,