Sounds like early Buddhism: See "Four Noble Truths" at<p><a href="https://www.uri.org/kids/world-religions/buddhist-beliefs" rel="nofollow">https://www.uri.org/kids/world-religions/buddhist-beliefs</a><p>FTFA:<p>><i>"
- Human life has a lot of suffering.<p>- The cause of suffering is greed.<p>- There is an end to suffering.<p>- The way to end suffering is to follow the Middle Path.<p>... The 'Middle Way[ed.,Path]' meant not leading a life of luxury and indulgence but also not one of too much fasting and hardship. </i>"<<p>Not bad advice.