Kenneth...Paul was making a point to divide the crowd and save his life...Paul said all that was "dung" ...as it relates to the gospel and Gods righteousness ...
Ac 23:6 ¶ But
when Paul perceived that the one part were Sadducees, and the other Pharisees, he cried out in the council, Men and brethren, I am a Pharisee, the son of a Pharisee: of the hope and resurrection of the dead I am called in question.
7 And when he had so said,
there arose a dissension between the Pharisees and the Sadducees: and the multitude was divided.
8 For the Sadducees say that there is no resurrection, neither angel, nor spirit: but the Pharisees confess both.