Mark 12
Verses 18-27
Now it is the Sadducees who show up to try to catch Jesus in a fault so they can accuse Him of false teachings. The Sadducees was another sect like the Pharisees. The Sadducees were from one school of how to understand the Old Testament and the Pharisees are from another school. One of the main differences is in the teachings of life after death. The Sadducees did not believe in life after death. The Pharisees did.
This is why the Sadducees believed they would be able to put forward a question about death to Jesus and get Him to disagree with them. They were ready with their rebuttals and facts to destroy Jesus.
Their question deals with the marriage of a man and a woman. The man dies and the brothers need to step in and provide for her as well as raise an heir up to continue the dead brother’s name. (Levirate marriage Deuteronomy 25:5-6)