"And they made Baal-berith their god" (Judges 8:33). This is the Fly-Baal of Ekron. This teaches that each and every one would make his object of worship and place it in his pocket; whenever he remembered it, he would take it out of his pocket and embrace it and kiss it.
The Pocket Idols Israel Kissed and Embraced
Yalkut Shimoni on Nach 64:3
וישימו להם בעל ברית לאלהים. זה זבוב בעל עקרון מלמד שכל אחד ואחד היה עושה יראתו ומניחה בכיסו כיון שזוכרה מוציאה מתוך כיסו ומחבקה ומנשקה: