Store data persistently so it can be looked up efficiently* sounds like a single problem.
https://www.sciencenewstoday.org/do-black-holes-destroy-or-s...
The "efficiently" part can be considered a separate problem though.
So, if we consider that persistent storage is a solved problem, then we can say that the reason for databases was how to look up data efficiently. In fact, that is why they were invented, even if persistent storage is a prerequisite.