What does ‘live a good life’ mean?

Does it mean having all the riches of the world? or it means having a life without any problem?

Well, the answer to this is simple, ‘living a good life’ means not hurting others for your own benefit.