1) Your credit score is negatively impacted if you close a credit card account.
2) Specific cards have specific benefits. For example my insurance company issues a credit card and if I use that card when I rent a car, I not only get automatic collision damage insurance (pretty standard on many cards) but also coverage against "loss of use" charges and other risks with rental cars that many other credit cards don't offer.
3) Some places don't take all cards. My AMEX card gives me hotel points that I use a lot but AMEX isn't accepted everywhere.
4) Many benefit programs have debit cards that are to be used for specific purposes. My HSA has a debit card, but I can only use it for medical expenses and prescription drugs.
Because the need for a particular card can be somewhat unpredictable, (and just to avoid losing them) I end up carrying about six cards in my wallet at all times.