For many now successful athletes, they started something before they felt ready. If something is important to you, you will never really feel ready. A side effect of doing something challenging is feeling excited and also very worried and unprepared.
As it relates to race day, you need to feel like you prepared "enough." To perform at your best, regardless of how ready you really are to compete, your mental game is extremely important so that you can feel ready "enough."