Sometimes you have to pray to want to give up what you need to give up. Sometimes we are so attached to a certain vice that no matter how much we try, no matter how often we confess it, we keep falling back into it. Then it is we know we have to pray for the grace to want to give it up. "Give me the grace to accept and utilize the graces you are offering me." "Give me the grace to want to give up this sin." "Give me the grace to want to pray." "Lord, I'm powerless..." You know, stuff like that.
Sometimes it takes a long, long time to give it up - but you will if you keep praying. We have to become very little, very humble... very, very humble. Until the Lord actually takes it from us. Sounds like a contradiction doesn't it? It isn't really - because everything is a grace.