What is the meaning of 2 Kings 3:2?

And he wrought evil in the sight of the LORD; but not like his father, and like his mother: for he put away the image of Baal that his father had made. (2 Kings 3:2 KJV)

And he did that which was evil in the sight of Jehovah, but not like his father, and like his mother; for he put away the pillar of Baal that his father had made. (2 Kings 3:2 ASV)

And he wrought evil in the sight of Jehovah, but not like his father, and like his mother; and he took away the column of Baal that his father had made. (2 Kings 3:2 DBY)

He did that which was evil in the sight of Yahweh, but not like his father, and like his mother; for he put away the pillar of Baal that his father had made. (2 Kings 3:2 WEB)

and doth the evil thing in the eyes of Jehovah, only not like his father, and like his mother, and he turneth aside the standing-pillar of Baal that his father made; (2 Kings 3:2 YLT)

Interlinear

And he wrought <`asah> evil <ra`> in the sight <`ayin> of the LORD; <Y@hovah> but not like his father, <‘ab> and like his mother: <’em> for he put away <cuwr> the image <matstsebah> of Baal <Ba`al> that his father <‘ab> had made. <`asah> (2 Kings 3:2 KJV)

Matthew Poole’s Commentary

Ver. 2.  He put away the image of Baal; not from any principle of conscience (for that would have reached the calves also); but either because he was startled at the dreadful judgments of God inflicted upon his father and brother for Baal worship; or because he needed God’s help to subdue the Moabites, which he knew Baal could not do; or to gratify Jehoshaphat, whose help he meant to crave, which he knew he should never obtain without this; and for this reason, it seems, Jezebel was willing to connive at it, as a trick of state.