Don't quit, its part of your growth. At thr first, many hindrances would came into our life but the last you will be successful person.
Negative thoughts will make you weak, the result is like that what you said, you will quit or stop but the positive will make even you had lose already a money, the result you will be a successful person.
So put into your mind the positive thought thoughts with wise personality and actions.