Do you believe in Jesus? Do you believe he died on the cross and resurrected on the third day for your sins? If you answered both of those with a yes, then you are a child of God. Now that that is taken care of, lets move on to your supposed disobedience and going your own way. When we sin we grieve the Holy Spirit because he knows the consequences of such actions, even to our disobedience. He isn't grieved as if we have offended a holy God, but because He cares for our well being. He had a plan for you, according to you, and you then chose to do otherwise.
Basically, you chose the valley of shadow of death as is said in the psalms. However, realize the Lord didn't place you there, but you decided to take a detour from His plans. That being said, the Word says He goes in with you to protect you, to give you an escape. So don't think you've been alone all these years. The Holy Spirit still resides in you, if indeed you believe in Jesus Christ and have been born again as a result. When you suffer, He suffers. He takes no pleasure in the pain of His children. You went against His plan and went your own way, but don't think for a moment He will forsake you. You are His daughter, forevermore. A child of God.
Your hope is in Jesus. His blood cleanses you from all sin. You may have walked in disobedience and there are consequences to that as I am sure you can share from the reality you walked in going your own way and not the Lords. In a sense, the punishment for disobedience is in itself the path you chose that was outside of the Lord's will because you lost out on what He wanted for you, at that time. Surely you still have a purpose. He still can use you and has plans to prosper you. You are a part of the body of Christ, essential as any other part. He will not reject your repentance, He welcomes such with open arms as the prodigal son.
Your confidence is in Jesus Christ. You did wrong but thank God Jesus did right and has imputed his righteousness to you. Stand strong in Jesus, rest in Him. Learn about His grace and His blood. You were in the wrong and wish to make amends. Do you think the Lord is with a hard heart? No, if anything you went astray and can now get back on His path for your life.
Disobedience has consequences, not just for oneself but even those that you were supposed to touch within His will. So in that disobedience you didn't just hurt yourself, but others. For all you know, it could've cost a person their healing, their hearing of the Gospel sooner than later, their deliverance from oppression and so many other scenarios you were meant to minister into.
What you need to focus on is the fact that you are back. You desire to do His will. You want to walk in the path that He has set before you. That path hasn't disappeared. You can still walk in His plans for your life from this moment forward. Do it. Ask Him to reveal what His will is for you now. Walk it out. Keep in mind, however, that you walking it out is not your assurance of salvation, but that assurance is in Jesus Christ and his finished work. Praise God, give him the glory and let your confidence reside in Him.