A majority of Democratic voters (57%) were ages 50 and older in the 2022 midterms, compared with 51% of Joe Biden’s voters in 2020 and 53% of voters who supported a Democratic House candidate in 2018. Just 14% of Democratic voters were under the age of 30 in 2022 — similar to the 15% of Democratic voters who were in this age group in 2018, but less than their share of Democratic voters in 2020 (17%).
Seven-in-ten Republican voters were 50 and older in the most recent election, compared with 62% of Republican voters in 2020 and 68% in 2018.
Those are people who actually voted in the off-year election, not people whos view or registration. https://www.statista.com/statistics/319068/party-identification-in-the-united-states-by-generation/ shows that those in Gen x and above (43 year old an above) Republicans have a ~10% margin over Democrats. Even Pew agrees that Party or Leans-Party favors Republicans in the over 50 group by roughly the same margin https://www.pewresearch.org/politics/2020/06/02/the-changing-composition-of-the-electorate-and-partisan-coalitions/
All that proves is that old people vote more than young people. Not that a majority of old people vote Democrat.