Obstacles brings lesson and lesson brings experience and knowledge. To achieve your goals, one need knowledge and experience and all these can be gain from going through obstacles.
Life and chess is indeed the same but in chess, it is all about skills, experience and strategy. In life it is similar too but something unpredictable like miracle can also happen in life which is something that can hardly happen in a chess game.