Leviticus 21:24 serves as a postscript, indicating that Moses was obedient in speaking to Aaron and the priesthood. The addition of the phrase, and to all the people of Israel,
places this section within the overall framework of the Holiness Code that is given to the nation as a whole.
24 So Moses spoke to Aaron and to his sons and to all the people of Israel.