Geoffrey Turner, 66, was diagnosed with the disease last November and died on February 13.
He was told years of smoking has caused the condition.
In the heartbreaking obituary that he wrote, he called himself an “idiot” and warned others: “If you’re a smoker -quit- now- your life depends on it.”
The obituary, which was published in US paper, the Albany Times Union, read: “I was a smoker and even though I knew it may eventually kill me, I chose to deny the truth to myself.
“The pain and suffering I caused my family was not worth the perceived ‘satisfaction’ that really did nothing more than waste money, separate me from my family, and eventually destroyed my body.
“I lived a decent life, but there are so many events and milestones I will not be able to share with my loved ones.
“The moral of this story – don’t be an idiot.
“Remember, life is good – don’t let it go up in smoke.”
Speaking to the BBC, his daughter, Sarah Huiset, said her dad had been smoking ever since he was just a child.
She praised her dad for the obituary, saying: “He always wanted to do something big.
“I am extremely proud of the selfless act of this obituary. This is what he will be most widely known for and it is a great thing.”