Every writer has moments when they feel like giving up.
I had an editor end a rejection to me with those very words 'Don't give up!'.
Keep working at it. But at the same time, you need to keep writing, not just submitting one piece over and over. You can't improve if you don't write.