Rambam, Moreh Nevuchim (Guide for the Perplexed) 3:32The Torah’s sacrifices replaced the idolatrous practices of the ancients in which Jewish people had been steeped But the well-known custom which was common then, and the general mode of worship in which the Israelites were brought up consisted of sacrificing animals…It was in accordance with the wisdom…
