1 Kings 11:10 (KJV)

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