Leviticus 22:18-20

22:18 “Speak to Aaron, and to his sons, and to all the children of Israel, and say to them, ‘Whoever is of the house of Israel, or of the foreigners in Israel, who offers his offering, whether it is any of their vows or any of their free will offerings, which they offer to the LORD for a burnt offering:

22:19 that you may be accepted, you shall offer a male without defect, of the bulls, of the sheep, or of the goats.

22:20 But you shall not offer whatever has a defect, for it shall not be acceptable for you.