Hello JacobG101; having been in the same situation with negative thoughts would like to share some scriptures with you that may give you comfort.
James 1:
2 Consider it all joy, my brethren, when you encounter various trials,
3 knowing that the testing of your faith produces endurance.
4 And let endurance have its perfect result, so that you may be perfect and complete, lacking in nothing.
5 But if any of you lacks wisdom, let him ask of God, who gives to all generously and without reproach, and it will be given to him.
6 But he must ask in faith without any doubting, for the one who doubts is like the surf of the sea, driven and tossed by the wind.
7 For that man ought not to expect that he will receive anything from the Lord, 8 being a double-minded man, unstable in all his ways.
Ask God for wisdom and do not doubt, and God will help you in your times of troubling trials that you are dealing with right now.
Here is what Jesus Christ said to His disciples: Matthew 7:7 “Ask, and it will be given to you; seek, and you will find; knock, and it will be opened to you.
8 For everyone who asks receives, and he who seeks finds, and to him who knocks it will be opened.
9 Or what man is there among you who, when his son asks for a loaf, will give him a stone?
10 Or if he asks for a fish, he will not give him a snake, will he?
11 If you then, being evil, know how to give good gifts to your children, how much more will your Father who is in heaven give what is good to those who ask Him!
12 “In everything, therefore, treat people the same way you want them to treat you, for this is the Law and the Prophets.
Jesus Christ tell us
22 Immediately He made the disciples get into the boat and go ahead of Him to the other side, while He sent the crowds away. 23 After He had sent the crowds away, He went up on the mountain by Himself to pray; and when it was evening, He was there alone. 24 But the boat was already a long distance from the land, battered by the waves; for the wind was contrary. 25 And in the fourth watch of the night He came to them, walking on the sea. 26 When the disciples saw Him walking on the sea, they were terrified, and said, “It is a ghost!” And they cried out in fear. 27 But immediately Jesus spoke to them, saying, “Take courage, it is I; do not be afraid.”
28 Peter said to Him, “Lord, if it is You, command me to come to You on the water.” 29 And He said, “Come!” And Peter got out of the boat, and walked on the water and came toward Jesus. 30 But seeing the wind, he became frightened, and beginning to sink, he cried out, “Lord, save me!” 31 Immediately Jesus stretched out His hand and took hold of him, and *said to him, “You of little faith, why did you doubt?” 32 When they got into the boat, the wind stopped. 33 And those who were in the boat worshiped Him, saying, “You are certainly God’s Son!”
2 Corinthians 1: 3 Blessed be the God and Father of our Lord Jesus Christ, the Father of mercies and God of all comfort,
4 who comforts us in all our affliction so that we will be able to comfort those who are in any affliction with the comfort with which we ourselves are comforted by God.
5 For just as the sufferings of Christ are ours in abundance, so also our comfort is abundant through Christ.
6 But if we are afflicted, it is for your comfort and salvation; or if we are comforted, it is for your comfort, which is effective in the patient enduring of the same sufferings which we also suffer;
7 and our hope for you is firmly grounded, knowing that as you are sharers of our sufferings, so also you are sharers of our comfort.
I hope you find these scriptures encouraging and may the Lord Jesus Christ be with you and your spirit friend take care!