That is how life works. There are tough times. There are good times. Don't let the tough times get you down and keep learning so you can be better in the future times. This is the key to success. Keep growing and when you fall down, get right back up and proceed with "Smart Persistence."
All the best to you!