Hi, Rita —
Thanks for the question.
This is really one of those questions you can answer through your own personal research.
All I had to do was to Google the phrase:
how many times does the number 40 appear in the Bible, or
how many times does this word appear in the bible
I can up with pages of results.
On this page I found:
The number 40 is mentioned 146 times in the Bible. The number points to or symbolizes trial and testing, or probation.
I hope this helps,