Unfortunatly, it’s impossible to judge each man without looking at their circumstances. Galileo was stumping for an already discredited system when the Curch theatened him. He then went on to do his best work, establishing a kinematic system Newton would build upon. Socrates was killed for failing to suuport the dicatotorship. But he was old, and had little left to live for.
ETA: It’s an interesting general pont. I’ll have to think about it more.