The problem would be what you might consider a good life, isn't the truest essence of what constitutes a good life. See you can live a good life and do good things, but the core obstacle for man is his ego. Every thought, action, emotion, reaction etc. as mentioned before is judged, but in our lives every single one of these is influenced by ego (whether directly or indirectly). Even doing something charitable feeds your ego, even if you don't realise it. From the ego stems lust, anger, greed and attachment. These are collectively known as the 5 thieves, as they are what influence all our actions and block us from the truth. In order to achieve enlightenment you have to conquer the 4, and finally surrender your ego.