You must be young. So, you are probably writing for no more than 10 years, probably no more than even 5 years, and you are already giving up? I am sorry, but with that attitude you don’t have the necessary willpower to become a great artist.
It takes a lot of time, a lot of effort, many disillusions and disappointments, and that with most names, even with most famous historical names. There are always exceptions, but it dosent matter, since you are probably not going to be one of them.
Sometimes I wonder if the real great artist are simply those that don’t give up and keep learning, keep facing their own mistakes and correcting them, keep having the courage to see that they are still far from acceptable and patiently wake up day after day knowing that they must learn yet another thing, correct yet another aspect of their craft.
Writing is not pleasurable, and it is not a guarantee way of being recognized. It is a very demanding activity, even a nightmare. It drains you, it chews your nerves, it consumes time and energy, and all of that while not offering certain fame or fortune. You need patience, humility, resilience, strong will: it is not only about talent, it has a lot to do with personality, with the way you see the world and lead your life.
Some people simply are not strong enough to travel the whole distance.
That said, it is normal to feel bad when you have initial disappointments. You eventually get used to it, for it is a normal aspect of an artistic life. Art is simply not a greatly demanded product, and it is a thing that most people can live without, so the market is very non-inclusive, the space is very disputed. But keep walking forward, be strong: you will need to learn how to deal with defeats.