Look at the median age of first-time homebuyers, it's less skewed. Many people make more than one home purchase in a lifetime, including whan they buy smaller places when they're old in order to downsize, or when they buy into a retirement community.
The median age of first-time home buyers is 35, according to this: https://www.financialsamurai.com/the-median-homebuyer-age-is-now-so-old/
National Association of Realtors gives a slightly higher number.