As you can see, even though Jephthah had very painful experiences in life, he was all the while, in God’s plan which included freeing his people from the grip of the Amorites, their tormentors and making him the undisputed head of his clan. And when the time came for him to act, God transformed him into a brand new, very powerful person that was well suited for winning wars.
Friend, you are also in God’s plan which is intended to make you a success in life (Jeremiah 29:11). He will re-write your history and obliterate your ugly/painful past if you allow Him but, you must be in Christ to begin with (2 Corinthians 5:17). That is, you must accept Him into your life as your personal Lord and Savior if you haven’t hitherto. After that, He will help you and strengthen you (Isaiah 41:10) to succeed and change your status will change from that of someone being Tolerated to that of being Celebrated in Jesus name. Amen.