by rabbinic literature, The Story of King Solomon and Ashmedai…
“ He went and dug for himself a cistern beneath that which was made by Ashmedai and drained out the water that was in the upper so that it emptied itself into the nether, and then clogged them up with the woollen yarns. He then went and carved out a cistern above the one made by Ashmedai, pouring therein wine which emptied into the other, and covering it over again. Thereupon, he went up and sat himself down in a tree. When he eventually came to examine his seal, he opened it and found that, instead of water, there was wine! He said, "It is written: Wine is a mocker, and strong drink is raging. ”
