Domains that have been around longer are usually considered more credible by search engines like Google. Also, older domains typically have more high-quality backlinks.
However, the age of the domain alone doesn't have a huge impact on SEO. What's more important is creating quality content, having a fast-loading site, user-friendly design, and using clean, error-free code.