Yes, being optimistic will help you remain positive and keep you going in the right direction. You must also realize that nothing or no one is perfect.
Challenges will occur as this is a part of life. You have to search within to find ways to overcome the challenges that work for you.
John 14:27 KJV
Peace I leave with yuo, my peace I give unto you: not as the world giveth, give I unto you. Let not your heart be troubled, neither let it be afraid.