The 50-year-old DJ admitted everyone in the EDM world was ''incredibly shocked'' when the 28-year-old star passed away in an apparent suicide in April and it's made him realise he needs to ''reorganise'' his own career and personal life in order to avoid slipping into a depression.
He said: ''We were all incredibly shocked by what happened. It's forced me to make some hard decisions, to change my life. I could see it coming in myself, this depression. And I'm a happy person, I'm really not a depressive type.
''But I realised I needed to reorganise my life to stay like this.
''I remember Avicii telling me how many shows he was doing a year and thinking, 'This is horrible. It's torture.'
''But it's hard to say no. You want to do what's right for your career. But if you keep saying yes, one day you'll fall.''
The 'When Love Takes Over' hitmaker admitted he can understand how the ''deeply strange lifestyle'' that goes alongside his industry can be damaging to people.
He told the Sunday Times Culture magazine: ''In our world, we all have one thing in common, which is this deeply strange lifestyle that puts you in a weak place emotionally.
''If you're an artist, in my opinion, it means you feel you have something to say, and you look at the world in a slightly different way. And the fact that we can do that is probably because we're hypersensitive. But to be hypersensitive and have that lifestyle, that's combustible.''
However, David tries not to complain about his life to anyone apart from his contemporaries.
He said: ''I saw Calvin Harris the other day, we were talking about life. Calvin said, 'You still have the passion to tour that much, I don't know how you do it.' He mainly does Vegas now, which is a more comfortable life.
''We were discussing how we should have lunch, because who can we complain to except each other? It would be indecent with anyone else.''