For two years I received nothing but rejections. One magazine, Highlights for Children, sent a form letter with a list of possible reasons for rejection. "Does not win in competition with others," was always checked off on mine. I still can't look at a copy of Highlights without wincing.
I would go to sleep at night feeling that I'd never be published. But I'd wake up in the morning convinced I would be. Each time I sent a story or book off to a publisher, I would sit down and begin something new. I was learning more with each effort. I was determined. Determination and hard work are as important as talent.
Don't let anyone discourage you! Yes, rejection and criticism hurt. Get used to it. Even when you're published you'll have to contend with less than glowing reviews. There is no writer who hasn't suffered.