The old masters used to paint to tell a story as in religious paintings or they would paint nobility and royalty or their rich food hampers and mansions at a time when photography did not exist. This tells us about how people lived hundreds of years ago. If the old masters had painted abstracts how would we have known?
Today millions of photos are taken every minute of the day but will that data survive even the next 10 years? Storage media keep changing and data is lost in the process. Have you still got your old negatives of when you used to take analogue photographs, I suppose you have. But have you looked at your digital photos of 5 years ago? Your hard drive has probably died and the CDs you have stored your data on are no longer accepted by your new machine.
The same goes for everything we put in writing. We can still read the stories hewn in stone thousands of years ago. Will today´s prints last that long? Is there any literature or image worth keeping?
All this tells me, realistic paintings are still very important to let future generations know about the way we live. So keep creating. It does not have to be hyperrealistic but realistic would be nice so that everyone could understand. Save some information about today´s world for future generations.