It's never ok. Don't give up or give in for that matter. Be realistic about your goals that your not meeting causing these disappointments. You may need to reevaluate or modify your goal. Try looking at the smaller steps individually rather than the whole big picture. Success is easier to measure one step at a time. Best of luck to you.