How was a depressed man given hope of a brighter future?

References: Luke 5:1-15 & Joshua 6