Faith is indeed foundational for a right relationship with God, but faith is distinct from knowledge. There is no biblical support for the idea that God "had faith" that His words would be effectual. On the contrary, for Him to "have faith" would be for Him to be subject to a higher power with the ability to enforce His words.
Jesus, while in the flesh, exercised faith. We, who continue to walk in fleshly tents, continue to exercise faith.
Faith, in and of itself, is nothing; the power of faith is in the object of that faith. That's why people who follow other religious systems are lost; the object of their faith is empty promises, delusions, or outright lies.
Faith is the certainty of things not seen (Hebrews 11:1, paraphrased). We don't merely "hope" that God will raise us from the dead; we know because we trust the veracity of His word that tells us so.
Christ while being God (and who never stopped being God), nevertheless had taken upon Himself the form of a servant, and in that form, was and is faithful to that which the Father had appointed Him to achieve:
[Heb 3:1-2 KJV]
1 Wherefore, holy brethren, partakers of the heavenly calling, consider the Apostle and High Priest of our profession,
Christ Jesus;
2
Who was faithful to him that appointed him, as also Moses [was faithful] in all his house.
Faith, being a noun, has substance and provides evidence:
[Heb 11:1 KJV] 1 Now
faith is the substance of things hoped for, the
evidence of things not seen.
Faith as a noun, in and of itself is something, and for those to whom it is given, it has a presence within them. That noun originated with/from Christ, and upon becoming born again is reckoned through the fruit of the Spirit to all those whom the Father had so chosen for it. Christ's faith being reckoned to us, brings forth a verb, which verb, is belief, and it becomes manifested as a trust in Jesus Christ, as Saviour in all ways, and in His gospel.
[Gal 5:22 KJV] 22 But the
fruit of the Spirit is love, joy, peace, longsuffering, gentleness, goodness,
faith,
By/from Christ's faith is our faith. Notice below the noun "faith", but also the verb "believed" - both having originated because of/from Christ. Christ also informs us that He alone is faith's the author and finisher.
[Gal 2:16 KJV] 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.
[Heb 12:2 KJV] 2 Looking unto
Jesus the author and finisher of [our] faith; who for the joy that was set before him endured the cross, despising the shame, and is set down at the right hand of the throne of God.
Notice that Christ, even though in heaven sill refers to faith as "my faith". And that one of His names actually is Faithful and True
[Rev 2:13 KJV] 13 I know thy works, and where thou dwellest, [even] where Satan's seat [is]: and thou holdest fast my name,
and hast not denied my faith, even in those days wherein Antipas [was] my faithful martyr, who was slain among you, where Satan dwelleth.
[Rev 19:11 KJV] 11 And I saw heaven opened, and behold a white horse; and he that sat upon him [was] called
Faithful and True, and in righteousness he doth judge and make war.
Christ's faithfulness to the Father brought forth righteousness, and His righteousness, salvation:
[Rom 3:22 KJV] 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:
[Rom 5:21 KJV] 21 That as sin hath reigned unto death, even so might
grace reign through righteousness unto eternal life by Jesus Christ our Lord.
Through the faith that is within Christ, and which is reckoned to us, is wisdom given regarding salvation. Notice the "make thee wise":
[2Ti 3:15 KJV] 15 And that from a child thou hast known the holy scriptures, which are able to
make thee wise unto salvation through faith which is in Christ Jesus.