The elderly seafarer is quoting Christ from the King James Version of the Bible:
Matthew 26:41: "Watch and pray, that ye enter not into temptation: the spirit indeed is willing, but the flesh is weak."
Mark 13:32-33: "But of that day and that hour knoweth no man, no, not the angels which are in heaven, neither the Son, but the Father. Take ye heed, watch and pray: for ye know not when the time is."
The phrase "the day of judgment is at hand" does not occur in the King James Bible. However, the Bible does include a number of references to the "day of judgment"--for example, Matthew 11:22, 24; 12:36 ("But I say unto you, That every idle word that men shall speak, they shall give account thereof in the day of judgment"); Mark 6:11; 2 Peter 2:9; 3:7; and 1 John 4:17.