in the nick of time vs providentially

in the nick of time

prep
  • At the last possible moment; at the last minute. 

providentially

adv
  • In a providential manner. 

How often have the words in the nick of time and providentially occurred in a corpus of books? (source: Google Ngram Viewer )