People put their resources in areas that they know will give them maximum returns and especially when time of need comes up.They invest with the aim of accessing such resources freely,but having earned them interest.
Hezekiah had invested his life well as he walked in truth,with a loyal heart and done good in the sight of God and when a time if crisis knocked at his door,he simply turned to God and reminded Him how he had walked and done.
How you want to invest your time,resources now, will definitely impact your future.Be wise and invest for eternity rather than temporal.