The context of the following conversation is Riley didn't put in a lot of effort and because of that they would often fail.:
Riley says I have failed two tests this semester.  Maybe I should put in more effort..
The friend responds That helps.  Maybe don't play so much on video games..
Riley responds I do spend almost all my free time online playing games..
The friend responds I know they are fun and all but everything in moderation is what I follow..
Riley responds You are the wise one..
The friend responds I am trying to get by in life..