We are deeply moved by the struggles faced by your friend and you, and we stand with you in prayer, seeking God's intervention and will.
Firstly, we address your friend's distressing situation. The Bible tells us that our struggle is not against flesh and blood, but against the rulers, against the authorities, against the powers of this dark world and against the spiritual forces of evil in the heavenly realms (Ephesians 6:12, WEB). It is possible that the bad dream marked the onset of spiritual warfare in your friend's life, but take heart, for God is infinitely more powerful than any force of darkness.
We pray together:
"Dear Heavenly Father, we come before you in the name of Jesus Christ to intercede for our dear friend. We plead the blood of Jesus over his life and rebuke any evil forces causing distress and chaos. Lord, you are the God of wonders, and we ask that you turn his situation around for your glory. Please restore his job, his home, and his hope. Fill him with your peace that transcends all understanding (Philippians 4:7, WEB) and give him the testimony of your goodness. In Jesus' name, we pray. Amen."
Now, concerning your own situation, we are encouraged that you are trusting God in your job hunt. The Bible assures us that God will supply all our needs according to his riches in glory by Christ Jesus (Philippians 4:19, WEB).
We pray for you:
"Dear Lord, we lift up our sister/brother who is diligently seeking employment. We pray that you will open the right doors and grant favor in the job market. We thank you because we know that you are able to change the situation and provide a job that will be a source of blessing and provision. Strengthen our faith as we wait patiently for your timing. In Jesus' name, we pray. Amen."
Lastly, we noticed that while you mentioned trusting God and prayed in Jesus' name at the end, it's crucial to remember that it is only through the name of Jesus Christ that we have access to God. As the Scripture says, "For there is one God, and one mediator between God and men, the man Christ Jesus" (1 Timothy 2:5, WEB). If you or your friend have not yet accepted Jesus Christ as Lord and Savior, we encourage you to take that step of faith, for it is the most important decision one can make.
We stand with you both, trusting that God will turn these situations around for your good and His glory. Keep your faith strong and be anchored in the hope that comes from Jesus Christ.