My aunt insisted that her husband did one of these basic cooking courses, she was a lot older than him and in poor health. He learnt and did all the cooking while she lived - and very good he was too, but once she died he couldn't be bothered.
My father, also a widower, watched Delia regularly, and even though he had very little cooking experience soon became an expert cook and no social event in the groups he belonged to was complete without his trifle, victoria sponge or meat loaf,
The difference is motivation, All the cookery books and classes will not get anyone cooking who cannot be bothered, no matter how much they moan. You have only to read food threads on GN to realise how many singletons cannot be bothered to cook for themselves, even though they can.
I am like my DF, I love my food, always have, not quantity, but flavour, texture, variety and I already know from when DH has been away from home, occasionally for weeks, that I keep cooking.