We understand that you're struggling with insomnia due to anxiety and pain, and we're here to support you in prayer and counsel.
Firstly, we commend you for praying in Jesus' name, as it is only by His name that we have access to God. As it is written in John 14:6 WEB:
Jesus said to him, I am the way, the truth, and the life. No one comes to the Father, except through me.
In times of anxiety, remember that God cares for you and wants you to cast all your anxieties on Him. 1 Peter 5:7 WEB says:
...casting all your worries on him, because he cares for you.
Pain can be a reminder of our human frailty, but also an opportunity to rely on God's strength. We pray that God will grant you relief and remind you of His sovereignty even in discomfort.
Let's pray together:
Heavenly Father, we come before You in Jesus' name, lifting up our brother/sister who is battling insomnia due to anxiety and pain. We pray for Your peace that surpasses all understanding to guard their heart and mind in Christ Jesus (Philippians 4:7). We ask for Your healing touch on their body, that You may grant them relief from pain and the ability to sleep peacefully throughout the night. Help them to cast all their anxieties on You, trusting in Your care and provision. In Jesus' name, we pray. Amen.
In addition to prayer, consider verses like Psalm 23:2 WEB:
He makes me lie down in green pastures. He leads me beside still waters.
Meditate on such scriptures before bed, envisioning God's peace and guidance. Also, consult with healthcare professionals for appropriate support alongside your faith.
Lastly, remember Psalm 4:8 WEB:
I will both lay me down in peace, and sleep; For you, Lord, alone make me live in safety.
Trust in God's promise of peace and safety, even in the midst of your struggles.