When God thinks of His children, He only thinks in terms of what can be used toward our good, toward His plan for us, and toward the future.
Now thanks be to God who always leads us in triumph in christ, and through us diffuses the fragrance of His knowledge in every place. ( 2 Corinthians 2:14)
God still has a vision for you. No matter where you've been, God's full intent is for you to live effectively (John 15:8) and abundantly (John 10:10) He loves you dearly, and the fact that you've been foolish doesn't diminish His love one single ounce. Talk to God. Echo the words of the Psalmist when he cried.
If I should say, "My foot has slipped," your loving kindness, O Lord, will hold me up when my anxious thoughts multiply within me, your consolations delight my soul. ( Psalm 94:18-19 nasb)
If you don't soak your brain in the truth that you are absolutely secure in the unchanging love of God, you will never feel worthy of getting out of the mess your in. Satan will keep your feet on slippery ground. When you want out of your mess that you are in you've got a golden opportunity to see the grace of God as you've never encountered it. Let God's loving kindness hold you up and ask Him to make His consolations your delight.
For I am convinced that neither death nor life, neither angels nor demons, neither the present nor the furture nor any powers, neither height nor depth, nor anything else in all creation will be able to separate us from the love of God that is in Christ Jesus our Lord. ( Romans 8:38-39)