I’ve been told the same thing (you don’t have enough life experience) but it made complete sense.
Have you ever been told anything demotivating about your writing?
The person who told me this said it differently though: “We can tell this character was written by a young person”. I was trying to write a main character in her 30’s while I’m in my 20’s with a career in medicine, something I know close to nothing about.
Did it make you stop writing? Did it motivate you to try harder?
It 100% made me try harder. This person criticized my work in the best way possible. She was encouraging, praising the good, but still pointing out the bad in a “criticism sandwich”. You know, when you compliment, critique, compliment again, and encourage.
I also learned that, when writing alone, it’s better to remove elements we’re not familiar with to focus on other, fewer ones, and on the story… than to complicate everything for ourselves and make ourselves dive into a pile of research before we even get to writing the damn thing.
I made my character younger and gave her a different job since those were elements that contributed to the story but weren’t essential.