If you are referring to fasting days of Ramadan, they are correct and you have to either make these days up or pay expiation in case your illness is hopeless and doctors say that you will never recover from it and you will never be able to fast.
But if you are referring to voluntary fasting, they are wrong and you don’t have to make up for any day you have missed.
And Allah knows best