Cancer question

When you have a tumor and the doctor tells you. You have a certain time to live ,are they always right ?

Could they be wrong and maybe you can get cured or live longer then they say?