So to give more language context to this - the term 好汉 hao han, is as you’ve put it, good hero. However like English, many Chinese phrases have two definitions. Hao Han 好汉 literally translates to Good Man or True Man.
The saying is attributed to dramatizations of ancient China, the Dynastic eras from the Warring States…