Depression as far as I am aware is not associated with sin since its not recorded anywhere in the bible. You can be depressed because you did not accomplish your set goal which is not a sin. God did not create us to be depressed, this is all the devils tricks and schemes to make us think we are depressed. There are occasions where sin leads to depression.