Which spices to use depends on the dish you are making, whether it's in the style of a particular cuisine, what flavor profile you're trying to create, etc.
The reason there are so many spices is because they all have a use, alone or in combination.