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.
Yes,treat that as challenges as long as if you can and you saw how you improve ,but somehow if bad things got more on us and nothing we can do is to quit ,quiting is not a loser sometimes we do quit for the better not all things will fit on us .