When checking in at the front desk, the credit card can be pre-authorized, and there is no need to pay the deposit directly; If you set a reasonable authorization amount, you can sign the bill in the hotel area during your stay, instead of paying the bill directly every time; If you accidentally leave the hotel without paying the bill, just call the hotel to check your account.
Therefore, wise people are generally willing to use credit cards when staying in hotels.