Leviticus 21:22-24 New International Version (NIV)

22. He may eat the most holy food of his God, as well as the holy food;

23. yet because of his defect, he must not go near the curtain or approach the altar, and so desecrate my sanctuary. I am the Lord, who makes them holy.’ ”

24. So Moses told this to Aaron and his sons and to all the Israelites.

Leviticus 21