Deuteronomy 12:21 New American Bible, Revised Edition (NABRE)

and if the place where the Lord, your God, chooses to put his name is too far, you may slaughter in the manner I have commanded you any of your herd or flock that the Lord has given you, and eat it freely in your own community.

Deuteronomy 12

Deuteronomy 12:18-22