Leviticus 22:3-4
22:3 Say to them, ‘Throughout your generations, if any man from all your descendants approaches the holy offerings which the Israelites consecrate to the Lord while he is impure, that person must be cut off from before me. I am the Lord.
22:4 No man from the descendants of Aaron who is diseased or has a discharge may eat the holy offerings until he becomes clean. The one who touches anything made unclean by contact with a dead person, or a man who has a seminal emission,
Leviticus 22:9
22:9 They must keep my charge so that they do not incur sin on account of it and therefore die because they profane it. I am the Lord who sanctifies them.