a scribe: a Jewish expert in the Law of Moses, trained to read, copy, teach, and rule on Scripture
This is the word's most common sense in the New Testament, and it carries the meaning the Greek translation of the Hebrew Bible had already given it: a scribe is a learned student and teacher of the Law of Moses. The role grew out of Ezra, who is called "a scribe skilled in the Law of Moses," and by Jesus' day the scribes were the recognized professionals who interpreted Scripture, settled legal questions, and instructed the people.
In the Gospels these scribes appear mostly as a group, often paired with the Pharisees or with the chief priests, and usually in conflict with Jesus over how the Law should be read. But the word names a profession, not a single party or a uniform attitude. A few scribes come to Jesus sincerely: one asks to follow him, another agrees warmly that loving God and neighbor outweighs sacrifice. The shared core is the office, not the hostility: a person whose expertise is the written Law.
Paul borrows the figure once for rhetorical effect, asking "Where is the scribe?" among those whose wisdom God has set aside. There the scribe stands as the very picture of respected human learning, the focus being the scholar's prestige overturned by the cross rather than any single legal ruling.