Jude 1:23 And others save with fear, pulling them out of the fire; hating even the garment spotted by the flesh.
No, it's not wrong for you to come to Christ out of fear of hell, according to scripture. Any rational person will be terrified of going to hell and be desperate to be saved from it. However, once you believe on Him for salvation you have been forgiven for all of your sins and have been adopted into His family as a son. You are now justified before God because of what He did on the cross. If you sin, and confess that sin, He is faithful to forgive you and cleanse you from all unrighteousness (1 John 1:9)
You don't have to cower in fear anymore; now you need to walk with Him. There are two things you need to understand. One is that you cannot overcome sin in your own strength:
Joh 15:5 I am the vine; you are the branches. Whoever abides in me and I in him, he it is that bears much fruit,
for apart from me you can do nothing.
You can do nothing without Jesus, including overcoming sin. You must surrender this problem entirely to Him and admit your helplessness to do it on your own. It is the Spirit of God who changes us from within, and He does that when we turn over control to Him. Stop punishing yourself; Christ took your beating on the cross and by His stripes we are healed. All you need to do is surrender and the Holy Spirit will do the rest.
The second thing is that God loves you more than you understand:
Ephesians 3:19 and to know the love of Christ that surpasses knowledge, that you may be filled with all the fullness of God.
His love for us surpasses our knowledge, and He is jealous for you. Read the Fathers love letter to help you understand how much He does love you:
Father's Love Letter Text
You need to trust in Him and put no confidence in the flesh. Surrendering control is the solution to the problem. Look for the leading of His Spirit in your daily life and be obedient to His voice. Yes, we should fear God, with an awe and a reverence. There is no condemnation though for those who are in Christ Jesus. So do not let the devil destroy you when you fail. Confess your sin, get back up and keep moving. God promised to help you with this:
Micah 7:19
He will turn again, he will have compassion upon us; he will subdue our iniquities; and thou wilt cast all their sins into the depths of the sea.
Just as we cannot save ourselves, neither can we stop sinning on our own. Give up control and let God step into the drivers seat so that He can subdue your sins under your feet. Stay in prayer constantly, and keep praying for the gift of self-control and the physical and spiritual strength you need for each day. Read the word every day and meditate on it, always praying for wisdom and the guidance of the Spirit. I'll pray for you too. God bless.