He made pagan shrines in all the towns of Judah for offering sacrifices to other gods. In this way, he aroused the anger of the LORD, the God of his ancestors.