Jesus gave his reasons for castigating the religious leaders. He did not reprimand them for believing in his words:
Matthew 19:9 "I tell you that anyone who divorces his wife, except for sexual immorality, and marries another woman commits adultery."
Mark 10:11 "Anyone who divorces his wife and marries another woman commits adultery against her.’
Luke 16:18 "Anyone who divorces his wife and marries another woman commits adultery, and the man who marries a divorced woman commits adultery.”