And he set the Sho'arim at the Sha'arei Beis Hashem, that none tamei in any thing should enter in.