Glaucon is not persuaded by the arguments in the previous discussion (357a). He divides good things into three classes: things good in themselves, things good both in themselves and for their consequences, and things good only for their consequences (357b-d).
Socrates places justice in the class of things good in themselves and for their consequences.