Hezekiah didn't merely exhort people to stop going to high places.
He restored true, God-centered worship at the temple, and the people realized that they did not need to worship Baal and Ashtoreth (2 Chronicles 29-30).