Nothing makes a difference. Nagel writes: Even if you produce a great work of literature which continues to be read thousands of years from now, eventually the solar system will cool or the universe will wind down and collapse and all trace of your effort will vanish.
But why should something have to be eternal to be meaningful? Cf. The book of Daniel "the righteous will shine like stars forever"