What can be done in this situation?
First of all, we must remember to treat internal invitations to discouragement or despair as temptations themselves. But when it comes to the patterns of sin themselves, sometimes I think our troubles were described by one of those early MTV songs by Adam Ant: We are 'desperate, but not serious.'
We are desperate to do something about our trouble; we don't want whatever it is in our lives. But, for some reason, we have not yet found the willingness to fearlessly re-arrange our days and mercilessly refuse to make provision for our habitual fault. Maybe we need to avoid the occasions and near occasions of sin. Maybe we need to avoid certain places or people. Maybe what we really have is an addiction over which we have lost any hope of control and need to find the humility to ask for help. Our desperation tells us that we no longer want the misery of sin, but our failure to get serious reveals that we aren't yet ready to make holiness an absolute priority in our lives.