A person learning about and worshiping other gods is spoken of as if they are caught in a hunter's trap. This can be stated in active form. Alternate translation: "that you do not act like them ... that you do try to learn about their gods, asking" (See: [[rc://en/ta/man/jit/figs-metaphor]] and [[rc://en/ta/man/jit/figs-activepassive]])
The Israelites worshiping idols as the people groups of Canaan worship idols is spoken of as if the Israelites were following behind the other people groups. (See: [[rc://en/ta/man/jit/figs-metaphor]])
This is a quotation within a quotation. A direct quotation can be stated as an indirect quotation. Alternate translation: "into asking about how those people groups worship their gods so that you can do the same." (See: [[rc://en/ta/man/jit/figs-quotesinquotes]] and [[rc://en/ta/man/jit/figs-quotations]])