Yeah... watch out that the enemy doesn't start messing with your head when you're in that state. Don't use sin as a bandaid. That's a test, or at least a proverbial fork in the road, and it is, I think, when we're supposed to draw near to God.
I get the depression thing, rest assured. My life, while not akin to a Christian in a North Korean gulag, has its own brand of suckiness. But, we are not to be weary of well-doing.