The LORD said to Moses:
References for Leviticus 22:17
Tell Aaron, his sons, and all the Israelites: Whenever someone from Israel's house or from the immigrants in Israel presents their offering to the LORD as an entirely burned offering—whether it is payment for a solemn promise or a spontaneous gift—
for it to be acceptable on your behalf, it must be a flawless male from the herd, the sheep, or the goats.
You must not present anything that has an imperfection, because it will not be acceptable on your behalf.
Whenever someone presents a communal sacrifice of well-being to the LORD from the herd or flock—whether it is payment for a solemn promise or a spontaneous gift—it must be flawless to be acceptable; it must not have any imperfection.
You must not present to the LORD anything that is blind or that has an injury, mutilation, warts, a rash, or scabs. You must not put any such animal on the altar as a food gift for the LORD.
You can, however, offer an ox or sheep that is deformed or stunted as a spontaneous gift, but it will not be acceptable as payment for a solemn promise.
You must not offer to the LORD anything with bruised, crushed, torn, or cut-off testicles. You must not do that in your land.
You are not allowed to offer such animals as your God's food even if they come from a foreigner. Because these animals have blemishes and imperfections in them, they will not be acceptable on your behalf.