Glaucon suggests that appearing just is equally beneficial as actually being just.
What's the benefit of being just outside reputation?
This is question Glaucon asked Plato. He suggest that men, if they can get away with it, would happily act selfishly if they would have immunity from the consequences of unjust acts, and can remain reputable in society. He uses the Ring of Gyges as an example.