1 Kings 11:10

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