I had a pack a day habit for 20+ years. Much of that time was struggling to quit.
For me it was about deciding not to be a smoker and not picking up the first cigarette.
It took a few years for the cravings to disappear, Eventually they did.
You have to just sit down and and hang onto your seat going through the rough bits. They do pass and it gets much easier with time.
It certainly is a fine thing to no longer be a slave to tobacco.
Hang in there.