That's what worked for me. I made multiple attempts to quit, mostly cold turkey. I tried to quit by cutting down (bad mistake). I even switched to vaping a few times (even worse mistake).
One day, after yet another failed quit attempt, I stumbled across a quit smoking support group similar to this one and participated regularly. The support, knowledge, and accountability really helped me quit for good.
My advice is to put your last cigarette out, commit to NOPE (Not One Puff Ever, there is a section on this site where you can pledge daily), participate here and reach out for help if you are tempted to smoke.
Quitting smoking may be tough but it is definitely doable, as the folks on this site can attest...and life as a nonsmoker is much better than life as an addict.