Its ok to charge if you pay if off every month, same as carrying cash. Don’t spend more than you make is the key.
Additionally, my CC, and many others, double the warranty on purchases. It adds a year to five-year warranties. So there are advantages to using one on major purchases. Put it on the CC, then go home and immediately pay it off.