But the Pharisees and the teachers of the Law rejected God's purpose for themselves and refused to be baptized by John.