So that you may bear your disgrace and be ashamed of all you have done in giving them comfort.
NIV
That you [Judah], amid your shame and disgrace, may be compelled to recognize your wickedness and be thoroughly ashamed and confounded at all you have done, becoming [converted and bringing] consolation and comfort to [your sisters.]AMP
That thou mayest bear thine own shame, and mayest be confounded in all that thou hast done, in that thou art a comfort unto them.
KJV