"For it is by grace you have been saved, through faithand this is not from yourselves, it is the gift of Godnot by works, so that no one can boast."
Even the faith we possess is a gift.
A gift imparted by God to us ...... Jesus never chastised his disciples saying “ oh ye of no faith “ ..... He chastised them saying ..... “ oh ye of LIttle faith “ ...
It’s not that they didn’t have no faith, but their faith was weak.
Their faith needed to grow, and the only way for it to grow
Is it needed to be tested.
But an all knowing, all powerful God may give faith but has no reason to have any.