American Standard Version (ASV):
but have walked after the stubbornness of their own heart, and after the Baalim, which their fathers taught them;
King James Version (KJV):
But have walked after the imagination of their own heart, and after Baalim, which their fathers taught them: