Winston Churchill said, "It is no use saying 'we are doing our best'. You have got to succeed at doing what is necessary." And at the time he said it, it was an unremarkable sentiment echoed in literature. The modern rule seems to be more along the lines of, "If you're nice and put in a decent effort, things will work out."
Some examples: Modern little orphan Annie is met with success after success and kindness after kindness in response to her charm and ingenuity, encountering only minor setbacks; her counterpart in Dickens' Oliver Twist meets nothing but disappointment and injustice for a very long time. The slight justices in the story are only those which are achieved by the characters with a lot of work and risk -- and even they, they often fail. Titanic's Rose drifts into and out of a beautiful adventure, but Gone With The Wind's Scarlet toils and schemes endlessly to gain what she has, even after losing everything through no fault of her own. The central romance of Casablanca does not simply work out as a modern audience would be accustomed to expect; the characters focus on doing what is necessary to achieve their aims.
The older stories have it right. In order to achieve something, one must assess the cost. You can't just do your best and hope. Rather--in the mode of Churchill--you must do what is necessary. And failure is familiar even to those who do that and proceed with best effort and intentions. A generation raised on Disney happy endings is learning the wrong lessons about the necessity of planning and perseverence.