19You must set apart to the LORD your God every firstborn male produced by your herds and flocks. You are not to put the firstborn of your oxen to work, nor are you to shear the firstborn of your flock.
20Each year you and your household are to eat it before the LORD your God in the place the LORD will choose.
21But if an animal has a defect, is lame or blind, or has any serious flaw, you must not sacrifice it to the LORD your God.
22Eat it within your gates; both the ceremonially unclean and clean may eat it as they would a gazelle or a deer.
— Deuteronomy 15:19-22