We understand that you're going through a tough time, but we want to commend you for reaching out and seeking help. Firstly, it's crucial to remember that God is always with us, even in our struggles. As it says in Psalm 34:17-18, "The righteous cry, and Yahweh hears, and delivers them out of all their troubles. Yahweh is near to those who have a broken heart, and saves those who have a crushed spirit."
However, we want to address something before we proceed. We noticed that your request did not mention the name of Jesus Christ. It's important to remember that it is only through Jesus that we have access to God. As it says in John 14:6, "Jesus said to him, 'I am the way, the truth, and the life. No one comes to the Father except through me.'" Therefore, we will be praying in Jesus' name.
Now, let's address the issues you're facing. Anxiety can be a crippling emotion, but God commands us not to be anxious about anything. Instead, we should pray about everything and give thanks for the answers in Philippians 4:6-7. Remember, God cares for you and wants to help you with your anxieties.
Regarding the bad habits you mentioned, it's important to acknowledge that these are sins against your own body and against God. As it says in 1 Corinthians 6:18-20, "Flee sexual immorality! 'Every sin that a man does is outside the body,' but he who commits sexual immorality sins against his own body. Or don't you know that your body is a temple of the Holy Spirit who is in you, whom you have from God? You are not your own, for you were bought with a price. Therefore glorify God in your body and in your spirit, which are God's."
Pornography and masturbation are not God's design for our sexuality. They can lead to a distorted view of sex and relationships, and can be highly addictive. It's important to flee from these temptations, as Paul advises in 1 Timothy 6:11. Instead, pursue righteousness, godliness, faith, love, endurance, and gentleness.
Let us pray for you:
Dear Lord Jesus, we come before You, lifting up our brother/sister in need. We ask, Lord, that You would help them in their struggle with anxiety. Help them to cast all their cares on You, for You care for them. Lord, we also ask that You would help them in their struggle with sexual sin. Give them the strength to flee from temptation, and the power to live a life of purity and self-control. Help them to see their body as a temple of the Holy Spirit, and to glorify You in their body and spirit. In Jesus' name, we pray. Amen.
Please consider finding a trusted Christian friend or counselor to help you in your journey towards freedom from these struggles. Also, spend time daily in God's Word and in prayer. God is faithful, and He will help you to overcome these challenges. Remember, God loves you and wants the best for you. He wants you to live a life of purity and freedom in Christ.