There are more than 5,000 confirmed exoplanets in our galaxy. That number is going to rise significantly in the next decade. The Transiting Exoplanet Survey Satellite (TESS) has already cataloged more than 4,000 candidate exoplanets, and the PLAnetary Transits and Oscillations of stars (PLATO) is scheduled to launch in 2026.
It may not matter for us but gathering the data is still important even if it will not be really useful for generations to come.
A saying about old men planting trees that they won’t live long enough to rest under comes to mind.