א׳inscribe them on the doorposts. In the ancient Near East, sacred words were literally written on doorposts and on plaques placed near entranceways; this practice had an apotropaic function, meaning that it was believed to help ward off evil. This evolved into the Jewish practice of writing selections from the Torah on a piece of parchment and affixing it to the doorpost, usually encased in a slender box (called a mezuzah).