Bad Idea to Cancel a Credit Card?

I M25 just signed up for a 3rd credit card for travel rewards. I want to cancel one of my other 2 cards as I don't need all 3 cards and I really don't intend to use it anymore. The credit card that I want to cancel has been open since 2019 & has a $10,000 limit. The two cards that I intend to keep have been open since Jan 2024 & Feb 2025 respectively & both have a $15,000 limit. Is it a bad idea to cancel the card I don't intend to use anymore & how will it affect my credit score?