Make your main character realistic as you want readers to get connected to the protagonist and want them to accomplish their goals. Weakness is one of the best methods to accomplish this with the main character. Since none of us are perfect, readers an relate more with a hero who isn't perfect either. A character in literature with defects has risk factors that they have to tackle to achieve their goal. Give your protagonist a problem to overcome, and let the reader follow their path throughout the story