His heart was committed to living the way the Lord wanted him to. He removed the high places from Judah. He also removed the poles that were used to worship the goddess Asherah.