Psalm 42:4-11: "4 These things I remember, as I pour out my soul: how I would go with the throng and lead them in procession to the house of God with glad shouts and songs of praise, a multitude keeping festival.
"5 Why are you cast down, O my soul, and why are you in turmoil within me? Hope in God; for I shall again praise him, my salvation 6 and my God.
"My soul is cast down within me; therefore I remember you from the land of Jordan and of Hermon, from Mount Mizar. 7 Deep calls to deep at the roar of your waterfalls; all your breakers and your waves have gone over me. 8 By day the LORD commands his steadfast love, and at night his song is with me, a prayer to the God of my life. 9 I say to God, my rock: 'Why have you forgotten me? Why do I go mourning because of the oppression of the enemy?' 10 As with a deadly wound in my bones, my adversaries taunt me, while they say to me all the day long, 'Where is your God?'
"11 Why are you cast down, O my soul, and why are you in turmoil within me? Hope in God; for I shall again praise him, my salvation and my God."
Psalm 46:10: "'Be still, and know that I am God. I will be exalted among the nations, I will be exalted in the earth!'"
John 11:1-44: "1 Now a certain man was ill, Lazarus of Bethany, the village of Mary and her sister Martha. 2 It was Mary who anointed the Lord with ointment and wiped his feet with her hair, whose brother Lazarus was ill. 3 So the sisters sent to him, saying, 'Lord, he whom you love is ill.' 4 But when Jesus heard it he said, 'This illness does not lead to death. It is for the glory of God, so that the Son of God may be glorified through it.'
"5 Now Jesus loved Martha and her sister and Lazarus. 6 So, when he heard that Lazarus was ill, he stayed two days longer in the place where he was. 7 Then after this he said to the disciples, 'Let us go to Judea again.' 8 The disciples said to him, 'Rabbi, the Jews were just now seeking to stone you, and are you going there again?' 9 Jesus answered, 'Are there not twelve hours in the day? If anyone walks in the day, he does not stumble, because he sees the light of this world. 10 But if anyone walks in the night, he stumbles, because the light is not in him.' 11 After saying these things, he said to them, 'Our friend Lazarus has fallen asleep, but I go to awaken him.' 12 The disciples said to him, 'Lord, if he has fallen asleep, he will recover.' 13 Now Jesus has spoken of his death, but they thought that he meant taking rest in sleep. 14 Then Jesus told them plainly, 'Lazarus has died, 15 and for your sake I am glad that I was not there, so that you may believe. But let us go to him.' 16 So Thomas, called the Twin, said to his fellow disciples, 'Let us also go, that we may die with him.'
"17 Now when Jesus came, he found that Lazarus had already been in the tomb four days. 18 Bethany was near Jerusalem, about two miles off, 19 and many of the Jews had come to Martha and Mary to console them concerning their brother. 20 So when Martha heard that Jesus was coming, she went and met him, but Mary remained seated in the house. 21 Martha said to Jesus, 'Lord, if you had been here, my brother would not have died. 22 But even now I know that whatever you ask from God, God will give you.' 23 Jesus said to her, 'Your brother will rise again.' 24 Martha said to him, 'I know that he will rise again in the resurrection on the last day.' 25 Jesus said to her, 'I am the resurrection and the life. Whoever believes in me, though he die, yet shall he live, 26 and everyone who lives and believes in me shall never die. Do you believe this?' 27 She said to him, 'Yes, Lord; I believe that you are the Christ, the Son of God, who is coming into the world.'
"28 When she had said this, she went and called her sister Mary, saying in private, 'The Teacher is here and is calling for you.' 29 And when she heard it, she rose quickly and went to him. 30 Now Jesus had not yet come into the village, but was still in the place where Martha had met him. 31 When the Jews who were with her in the house, consoling her, saw Mary rise quickly and go out, they followed her, supposing that she was going to the tomb to weep there. 32 Now when Mary came to where Jesus was and saw him, she fell at his feet, saying to him, 'Lord, if you had been here, my brother would not have died.' 33 When Jesus saw her weeping, and the Jews who had come with her also weeping, he was deeply moved in his spirit and greatly troubled. 34 And he said, 'Where have you laid him?' They said to him, 'Lord, come and see.' 35 Jesus wept. 36 So the Jews said, 'See how he loved him!' 37 But some of them said, 'Could not he who opened the eyes of the blind man also have kept this man from dying?'
"38 Then Jesus, deeply moved again, came to the tomb. It was a cave, and a stone lay against it. 39 Jesus said, 'Take away the stone.' Martha, the sister of the dead man, said to him, 'Lord, by this time there will be an odor, for he has been dead four days.' 40 Jesus said to her, 'Did I not tell you that if you believed you would see the glory of God?' 41 So they took away the stone. And Jesus lifted up his eyes and said, 'Father, I thank you that you have heard me. 42 I knew that you always hear me, but I said this on account of the people standing around, that they may believe that you sent me.' 43 When he had said these things, he cried out with a loud voice, 'Lazarus, come out.' 44 The man who had died came out, his hands and feet bound with linen strips, and his face wrapped with a cloth. Jesus said to them, 'Unbind him, and let him go.'"
Revelation 7:13-17: "13 Then one of the elders addressed me, saying, 'Who are these, clothed in white robes, and from where have they come?' 14 I said to him, 'Sir, you know.' And he said to me, 'These are the ones coming out of the great tribulation. They have washed their robes and made them white in the blood of the Lamb.
"15 'Therefore they are before the throne of God, and serve him day and night in his temple; and he who sits on the throne will shelter them with his presence. 16 They shall hunger no more, neither thirst anymore; the sun shall not strike them, nor any scorching heat. 17 For the Lamb in the midst of the throne will be their shepherd, and he will guide them to springs of living water, and God will wipe away every tear from their eyes.'"
+++
The text is public domain:
1 Be still, my soul; the Lord is on your side;Bear patiently the cross of grief or pain;Leave to your God to order and provide;In ev'ry change His faithful will remain.Be still, my soul; your best, your heav'nly FriendThrough thorny ways leads to a joyful end.2 Be still, my soul; your God will undertakeTo guide the future as He has the past.Your hope, your confidence let nothing shake;All now mysterious shall be bright at last.Be still, my soul; the waves and winds still knowHis voice who ruled them while He dwelt below.3 Be still, my soul; though dearest friends departAnd all is darkened in this vale of tears;Then you will better know His love, his heart,Who comes to soothe your sorrows and your fears.Be still, my soul; your Jesus can repayFrom His own fullness all He takes away.4 Be still, my soul; the hour is hast'ning onWhen we shall be forever with the Lord,When disappointment, grief, and fear are gone,Sorrow forgot, love's purest joys restored.Be still, my soul; when change and tears are past,All safe and blessed we shall meet at last.
+++
The two passages from the Psalms appear twice in each verse; "Be still" is from Psalm 46:10, and the addresses to "my soul" are patterned on the passage from Psalm 42. In a way, Psalm 42 is the main source for the hymn, but only in the general sense that the hymn is also someone addressing his own soul.
The long passage from John seems to be merely referred to in the third verse ("though dearest friends depart..."). Similarly, the passage from Revelation is just alluded to in the last lines of the fourth verse: "when change and tears are past, / All safe and blessed we shall meet at last."
+++
The lines "the waves and winds still know / His voice who ruled them while He dwelt below" in the second verse refer to Jesus's calming the storm in Matthew 8:23-27, Mark 4:35-41, and Luke 8:22-25.
The line "When we shall be forever with the Lord" in the fourth verse may come from part of 1 Thessalonians 4:17: "we will always be with the Lord."