He got rid of all the male and female prostitutes serving at the pagan altars who were still left from the days of his father Asa.