42 Yet at the same time many even among the leaders believed in him. But because of the Pharisees they would not openly acknowledge their faith for fear they would be put out of the synagogue;

Read John 12:42 Using Other Translations

Nevertheless among the chief rulers also many believed on him; but because of the Pharisees they did not confess him, lest they should be put out of the synagogue:
Nevertheless, many even of the authorities believed in him, but for fear of the Pharisees they did not confess it, so that they would not be put out of the synagogue;
Many people did believe in him, however, including some of the Jewish leaders. But they wouldn’t admit it for fear that the Pharisees would expel them from the synagogue.