Acts 23:6

6 Paul realized that some members of the high council were Sadducees and some were Pharisees, so he shouted, “Brothers, I am a Pharisee, as were my ancestors! And I am on trial because my hope is in the resurrection of the dead!”

Acts 23:6 In-Context

4 Those standing near Paul said to him, “Do you dare to insult God’s high priest?”
5 “I’m sorry, brothers. I didn’t realize he was the high priest,” Paul replied, “for the Scriptures say, ‘You must not speak evil of any of your rulers.’ ”
6 Paul realized that some members of the high council were Sadducees and some were Pharisees, so he shouted, “Brothers, I am a Pharisee, as were my ancestors! And I am on trial because my hope is in the resurrection of the dead!”
7 This divided the council—the Pharisees against the Sadducees—
8 for the Sadducees say there is no resurrection or angels or spirits, but the Pharisees believe in all of these.
Holy Bible. New Living Translation copyright© 1996, 2004, 2007, 2013 by Tyndale House Foundation. Used by permission of Tyndale House Publishers Inc., Carol Stream, Illinois 60188. All rights reserved.