He forced the prostitutes at the shrines to leave the country, and he got rid of the idols his ancestors had made.