To some who trusted in their own righteousness and viewed others with contempt, He also told this parable:
Berean Standard Bible (BSB)
He spoke also this parable to certain people who were convinced of their own righteousness, and who despised all others.
World English Bible (WEB)
And{G1161} he spake{G2036}{(G5627)}{G2532} this{G5026} parable{G3850} unto{G4314} certain{G5100} which{G3588} trusted{G3982}{(G5756)} in{G1909} themselves{G1438} that{G3754} they were{G1526}{(G5748)} righteous{G1342}, and{G2532} despised{G1848}{(G5723)} others{G3062}:
Strong's King James
(9) Now He also told this riddle to certain ones who trusted in their own innocent-righteousness and despised the rest.
The F.O.G
The F.O.G Message
And he spake also unto certain who have been trusting in themselves that they were righteous, and have been despising the rest, this simile:
Young's Literal Translation