in his somewhat myopic analyses of causality and induction , hume steadfastly maintained that there is no logical justification for believing that any two events which occur in sequence are in any way connected by cause and effect or for making any inference from past to future .