First of all, I can understand how you feel. Failure of one thing may not shake confidence, but when many difficulties accumulate and cannot be changed after a long period of prayer, confidence is likely to shake, because most Christians are weak. Personally, there are two reasons for encountering many hardships. One is that the environment set by the Lord allows you to benefit from it, and the other is that the Lord allows the devil to make trouble around you in order to benefit from it, but God will not abandon us. The Lord Jesus will always be with us, and God's eyes will never leave us. Let me give you some advice:
1, the brothers and sisters of the church pray for you and be your spiritual cover, so that the devil's tricks cannot succeed.
2. Eagerly pray to God and ask his mind.
No matter what adversity and difficulties you encounter, you should face them with gratitude. If you can't do it intellectually, you can try to praise God constantly, even if it is unintentional at first, but as long as you keep praying like this, you will find that you will gradually feel grateful to God from the heart.
4. When you need to make a decision, pray and ask God what he thinks. God won't make a decision without revelation.