The part where you said nicotine was a bad habit seemed to be your words,
an unquoted section.
You can attribute that opinion to the author, or society, or whoever now, if you choose,
regardless my point remains: nicotine shouldn’t be filed under “bad habit” by default.