The biblical summation of "enough time." Through the bible, there are multiple references to the number forty. Some examples of this are:

None of these(save Lent) were actually forty exactly, but as time was difficult to estimate, forty became the standard amount of time for everything.