In addition to what everyone else in this thread has already covered, the credit card issuers benefit from you having that card in your wallet because they charge the merchant for every transaction. So you’re having the merchant pay the credit card company with every swipe, in exchange for whatever benefits the card provides to you.
That… seems… bad… but what do I know