The New Testament speaks of Jesus having faith or trust in God in three specific ways: through a direct quote attributed to Him, through the specific wording of the "faith of Christ" passages (preserved clearly in the KJV), and through the testimony of those who watched Him die.
Here are the specific places in the King James Version (KJV):
This is the most direct verse in the entire New Testament where Jesus Himself speaks of His reliance upon the Father. The writer of Hebrews attributes these words directly to Jesus:
9 But we see Jesus, who was made a little lower than the angels for the suffering of death, crowned with glory and honour; that he by the grace of God should taste death for every man.
10 For it became him, for whom are all things, and by whom are all things, in bringing many sons unto glory, to make the captain of their salvation perfect through sufferings.
11 For both he that sanctifieth and they who are sanctified are all of one: for which cause he is not ashamed to call them brethren,
12 Saying, I will declare thy name unto my brethren, in the midst of the church will I sing praise unto thee.
13 And again, I will put my trust in him. And again, Behold I and the children which God hath given me.
Hebrews 2:9–13.
In modern translations, phrases like "faith of Christ" are often changed to "faith in Christ." However, the KJV preserves the literal Greek distinction which suggests it is Jesus' own faith (His faithfulness to the Father) that saves us.
22 Even the righteousness of God which is by faith of Jesus Christ unto all and upon all them that believe: for there is no difference: Romans 3:22.
16 Knowing that a man is not justified by the works of the law, but by the faith of Jesus Christ, even we have believed in Jesus Christ, that we might be justified by the faith of Christ, and not by the works of the law: for by the works of the law shall no flesh be justified. Galatians 2:15–16.
22 But the scripture hath concluded all under sin, that the promise by faith of Jesus Christ might be given to them that believe. Galatians 3:22.
9 And be found in him, not having mine own righteousness, which is of the law, but that which is through the faith of Christ, the righteousness which is of God by faith: Philippians 3:9.
In these verses, the text distinguishes between our belief and His faith.
Even the enemies of Jesus, while mocking Him on the cross, admitted that His life was characterized by trust in God.
43 He trusted in God; let him deliver him now, if he will have him: for he said, I am the Son of God. Matthew 27:43.
Trust is most clearly seen when handing over something of value. In His final moment, Jesus quotes Psalm 31:5 to entrust His spirit to the Father.
5 Into thine hand I commit my spirit:
Thou hast redeemed me, O LORD God of truth.
Psalms 31:5.
46 And when Jesus had cried with a loud voice, he said, Father, into thy hands I commend my spirit: and having said thus, he gave up the ghost. Luke 23:46.
Jesus was man. Jesus was God. As a man He lived under the Law. One of the things that Jesus would have to have is faith, or trust, in God His Father.
His prayers as a man would have the quality of faith in God that what He asked in faith - nothing wavering - God would grant Him.
Another necessity that Jesus as a man would have to have is faith in God - perfect faith - that would be the faith that men could not have and on whose behalf His faith is a faith that God would honor and to substitute for our weak and failing faith.
The New Testament identifies this most clearly in the book of Hebrews, which provides the theological statement that He experienced our condition "in all things." The Gospels then provide the specific historical evidence of those experiences. Here are the key passages in the King James Version (KJV):
The book of Hebrews explicitly states that it was necessary for Jesus to be made like us to function as our High Priest. He was made like us "in all things."
17 Wherefore in all things it behoved him to be made like unto his brethren, that he might be a merciful and faithful high priest in things pertaining to God, to make reconciliation for the sins of the people.
18 For in that he himself hath suffered being tempted, he is able to succour them that are tempted.
Hebrews 2:17–18.
Think about that for a second. And take a look at the word "behoved" [Strong's Greek #3784.] I won't get sidetracked by definitions but in order to understand what men, specifically those that the Father gave to the Son (John 17), was "to be made like unto His brethren" including our experiences having to do with having faith or trusting in God, which is His [Father's] command and His expectation of us. I've already proved through Scripture that faith is not among the terms included in any of the three Hebrew covenants (Abrahamic, Mosaic, and New) as being required components of covenant - like circumcision, but that while being in covenant with God the dynamic of faith is evident in each relationship between God and individuals recorded in Scripture. Let's take Abraham. The Abrahamic Covenant is found recorded in Genesis 12, 15, and 17. In these chapters we read in detail the promises God makes to Abraham and the one thing God required of Abraham - and it wasn't faith, but circumcision. Circumcision - not faith - was required of Abraham and Abraham performed it as instructed by God.
He feels our infirmities (weaknesses) and temptations.
15 For we have not an high priest which cannot be touched with the feeling of our infirmities; but was in all points tempted like as we are, yet without sin. Hebrews 4:15.
He learned through suffering.
8 Though he were a Son, yet learned he obedience by the things which he suffered; Hebrews 5:8.
The physical proofs (the Gospels.) The Gospels record Jesus experiencing the specific limitations and biological needs of the human body.
Hunger:
2 And when he had fasted forty days and forty nights, he was afterward an hungred. Matthew 4:2.
Thirst:
28 After this, Jesus knowing that all things were now accomplished, that the scripture might be fulfilled, saith, I thirst. John 19:28.
Exhaustion/Weariness:
6 Now Jacob’s well was there. Jesus therefore, being wearied with his journey, sat thus on the well: and it was about the sixth hour. John 4:6.
Sleep (Need for rest):
24 And, behold, there arose a great tempest in the sea, insomuch that the ship was covered with the waves: but he was asleep. Matthew 8:24.
And there is more. The point being that in order to be our High Priest who is made like unto us, Jesus would also have to have faith in God like unto us "in all things" in this life including having faith in God. We experience having to have faith in God for those things which we have to do. While Jesus' faith was perfect and never wavering there were times He experienced what we go through where faith in God is part of our experience in this life. Here is one example of Jesus' faith in God on display:
33 When Jesus therefore saw her weeping, and the Jews also weeping which came with her, he groaned in the spirit, and was troubled,
34 And said, Where have ye laid him? They said unto him, Lord, come and see.
35 Jesus wept.
36 Then said the Jews, Behold how he loved him!
37 And some of them said, Could not this man, which opened the eyes of the blind, have caused that even this man should not have died?
38 Jesus therefore again groaning in himself cometh to the grave. John 11:33–38.
Verse 37 speaks of preventing Lazarus from dying, and Jesus does not yet know what He was going to do. But He quickly decides on the 'other side' of that statement in verse 37 to call him (Lazarus) back to life.
39 Jesus said, Take ye away the stone. Martha, the sister of him that was dead, saith unto him, Lord, by this time he stinketh: for he hath been dead four days.
40 Jesus saith unto her, Said I not unto thee, that, if thou wouldest believe, thou shouldest see the glory of God?
41 Then they took away the stone from the place where the dead was laid. And Jesus lifted up his eyes, and said, Father, I thank thee that thou hast heard me.
42 And I knew that thou hearest me always: but because of the people which stand by I said it, that they may believe that thou hast sent me.
43 And when he thus had spoken, he cried with a loud voice, Lazarus, come forth.
44 And he that was dead came forth, bound hand and foot with graveclothes: and his face was bound about with a napkin. Jesus saith unto them, Loose him, and let him go.
John 11:39–44.
I would think that if Jesus knew before He arrived in Bethany that He was going to raise Lazarus I don't think He would be grieving and groan within Himself. Now, did Jesus receive instructions from God to raise Lazarus? I don't think so. The decision was squarely Jesus' prerogative. When He chose to raise Lazarus Jesus prayed to God, He petitioned God, asked, if you will, to call him forth. Even before He instructed to have the stone removed, He knew He was going to ask God to raise him. The command to remove the stone itself is an act of faith. Works without faith is dead and faith without works is dead. The stone came BEFORE the prayer. With that He already knew what the Father's will was but He prayed it like He said, for the benefit of those who heard Him [pray.]
In order to be our High Priest who is touched by the feeling of our infirmities Jesus would have to have faith in God as a man and as our substitute and to experience what we experience when our faith is tested as His was in the desert in Matthew 4. In this Jesus knows what we go through when we are instructed to "have faith in God."
Jesus' passion in Gethsemane is another example and Jesus' faith exhibited. Three times Jesus asked - hoped - His cup pass but in the end He gathered His will, brought it into sync with the Father's will, and accepted what was destined to follow. He learned "faith" because we learned "faith" in this life. That dynamic is part of His life as a man because it is our part as a man and our experience in our lives. Jesus had the faith that we couldn't perform. It was His faith that God honored and through His faith that all who are predestined to be saved are saved. He paid a debt He did not owe, I owed a debt I could not pay...I NEEDED SOMEONE!
Not only 'wash away my sins', but to have faith in God that I will fail at times to uphold for myself. That's why I am saved. His faith was substituted for mine - or should I say, for mine that failed - at a time when it counted most.
As my Intercessor, my cry to God to "save me" is His cry that exerted the faith I lacked which did save me and for this I am eternally grateful that Christ was all things I am not, and His faith to God for my salvation was perfect when I had none. My Intercessor had the faith I lacked, and a faith God honored, through which I am redeemed. He gets ALL the glory. For it was His faith in God that saved me. I was dead in trespasses and sin and my cry of "Who shall go before me" was answered with, "Here, Am I. Send me.