It comes down to how you budget and pay your bills. If you take out large chunks of cash at a time then psychologically seeing the cash leave your wallet might personally help you if you treat budgeting as a once a month task. It's easy to get into trouble with a credit card if you never look at your transactions until the end of the month and treat the amount on your statement as a big blob you just have to pay while just glancing through your statement.
If you actually use budgeting tools like YNAB which get you into the habit of spending a couple minutes every morning to confirm and categorize where your money went you end up with all the psychological benefits of cash, it's impossible to forget a transaction, you know exactly where your money went for years, and you end up with even more money due to the credit card rewards. I also usually take that time every morning to pay or partially pay on all my cards to make it even more obvious the cash that is leaving my checking account each day.