“to put Jesus to the test. This woman was being used by the scribes and the pharisees in order to trap Jesus. Can you imagine someone who's really zealous for the things of God using a person in this kind of a situation to destroy the son of God? But that's what was going on. Now what's the test? They say to him, Moses in the law commanded that such a person should be stoned. What do you say?”
Ligonier Ministries