Credit cards are for the personal use of cardholders only. Lend your card to others at your own risk.
Possible risks may sometimes be more than just financial and credit problems such as overdue debts. If your boyfriend is short of money, he needs to relieve the financial pressure, just like your boyfriend said, "Give me your credit card and give me money at most." Then really give him money. He is embarrassed to accept cash directly. Then you can act as his "bank", put the money on his card, and then he will repay you on time every month.
It doesn't really look like stealing money from your credit card.
How different. People who really love you won't embarrass you. People who really trust you won't test you with credit cards.