This is a good comparison, we should understand that it is our choice to get addict into something and most of the time if the Children sees the addiction of their parents, they started to hate it. In the situation of my friend, his parents is a liquor addict and when his parent get drunk, they became insane and starts to hurt his siblings so this kind of trauma makes them hate beer, and that is also a proof that addiction can’t be inherit. We all have our own choices here especially if you are already on a legal age, always choose what’s best for you.
That is correct personal choice is a different thing and addiction is an other. But we can not say it at all that just because our parents were smokers - kids are smoking. My father was a chain smoker. But none of my sibling likes smoking at all. Why it has not been transferred through genes? because it is not in DNA