1 Kings 11:10

10 and had commanded him concerning this thing, that he should not go after other gods: but he didn't keep that which the LORD commanded.