John 1:29: "The next day he [John the Baptist] saw Jesus coming toward him, and said, 'Behold, the Lamb of God, who takes away the sin of the world!'"
John 6:37: "'All that the Father gives me will come to me, and whoever comes to me I will never cast out.'"
Revelation 3:17: "'For you say, I am rich, I have prospered, and I need nothing, not realizing that you are wretched, pitiable, poor, blind, and naked.'"
+++
The text is public domain:
Just as I am, without one pleaBut that Thy blood was shed for meAnd that Thou bidd'st me come to Thee,O Lamb of God, I come, I come.
Just as I am and waiting notTo rid my soul of one dark blot,To Thee, whose blood can cleanse each spot,O Lamb of God, I come, I come.
Just as I am, though tossed aboutWith many a conflict, many a doubt,Fightings and fears within, without.O Lamb of God, I come, I come.
Just as I am, poor, wretched, blind;Sight, riches, healing of the mind,Yea, all I need, in Thee to find,O Lamb of God, I come, I come.
Just as I am, Thou wilt receive,Wilt welcome, pardon, cleanse, relieve;Because Thy promise I believe,O Lamb of God, I come, I come.
Just as I am; Thy love unknownHas broken ev'ry barrier down;Now to be Thine, yea, Thine alone,O Lamb of God, I come, I come.
+++
The recurring line "O Lamb of God, I come, I come" comes partially from John 1:29 (the name "Lamb of God") and partially from John 6:37 ("I come, I come"). John 6:37 is also in the fifth verse, but the hymn looks at it from the opposite direction: "Just as I am, Thou wilt receive" rather than "whoever comes to me I will never cast out." Revelation 3:17 appears in the line "Just as I am, poor, wretched, blind" in the fourth verse.