Deuteronomy 15:19-22

LEB(i) 19 "Every firstling male that is born of your herd and of your flock you shall consecrate to Yahweh your God; you shall not do work with the firstling of your ox, and you shall not shear the firstling of your flock. 20 Rather before Yahweh* your God you shall eat it year by year at the place Yahweh will choose, you and your household. 21 But if there is a physical defect in it, such as lameness or blindness, any serious defect, you shall not sacrifice it to Yahweh your God. 22 In your towns* you shall eat it, the unclean and the clean together may eat it, just as they eat the gazelle and as they eat the deer.