If we let God in our lives ... This attitude, "God, help me do my best and you do the rest," makes it easier to accept the consequences even when they're disappointing because you invited God to take part in it and if that's what he wants for you here and now, it's easier to accept. It can't be wrong. There was a purpose for it. Like you had indicated when something goes wrong, there's generally a reason for it.