This phrase is referring to how, if you spend too much time on something, it can be detrimental to your wellbeing. Time, in this figurative meaning, is a drug because like drugs, if you take too much you can become consumed by it. The phrase means that if you let your time be taken up by too many activities, you may end up feeling overwhelmed and burnt out, which can have negative effects on your life.