To be prepared for obstacles is to remain cheerful under all circumstances.
Projection: Generally there is always a wish not to have to face any obstacles. When we begin something new we usually have a thought to have things going perfectly well. So when obstacles do come we are not prepared and we experience dissatisfaction and sorrow.
Solution: Whenever we start something new we need to prepare our mind that we are sure to be faced with obstacles. Along with it we also need to understand that these obstacles actually teach us something new and it is only with such situations we can learn and progress. When we have such thoughts we will be able to remain cheerful under all circumstances.