Between the third and first Centuries B.C.E. and the 16th Century C.E., Babylonian Devil Traps were common.
These devil traps were terra-cotta bowls inscribed with magical texts or symbols with the purpose to drive away evil.
Hebrew slaves in Babylonia changed the words and text to quotes from the Hebrew Scriptures that invoked God.
One bowl was inscribed with the “bill of divorce” from the devil and all of his monsters. It ordered demons to leave town.
How were these bowls used? They were turned upside down, and buried under the four cornerstones of buildings and houses.
Image from Google search