But Minerva was the goddess of wisdom, intelligence and learning. Not many soldiers would ask her for help. But perhaps a schoolboy would ask her to help him learn his grammar or understand his maths better !
Or the emperor would ask her to give him wisdom so that he might rule the country wisely.
And so, the Romans indeed had hundreds of different gods. This entire collection of all their gods was called the