knowingly tells his neighbor things that are not true so that the neighbor will do what the speaker wants him to do
# spreading a net for his feet
The writer compares the flattery of a person to setting that person up to being caught in a trap. AT: "setting a trap to catch that person" (See: [[rc://en/ta/man/translate/figs-metaphor]])