It was a general statement, but I do have basis for it. My proof comes from the Quran, where the Almighty God describes those who call out to God when in desperate situations (in this case, out to sea), yet who don't particularly believe in God...as He is fully aware what is in everyone's hearts and He is the All-Knowing and the All-Hearing, He says:
"He it is Who makes you travel by land and sea; until when you are in the ships, and they sail on with them in a pleasant breeze, and they rejoice, a violent wind overtakes them and the billows surge in on themfrom all sides, and they become certain that they are encompassed about, they pray to Allah, being sincere to Him in obedience: If Thou dost deliver us from this, we will most certainly be of the grateful ones.
But when He delivers them, lo! they are unjustly rebellious in theearth. O men! your rebellion is against your own souls -- provision (only) of this world's life -- then to Us shall be your return, so We will inform you of what you did." (Quran, Ch.10, V.22-23)
NOTES (by me):
1. 'Allah' is the Arabic word for the 'Almighty God'...for example 'Allah' is the word used for 'God' in Arabic Bibles
2. The words 'Us' and 'We' are the noble form of the words 'Me' and 'I'...for example, when the Queen of England decides to visit a country, she says: 'We will visit so and so place.'