Advices on how to deal with an aging dog

Hello everyone, I’m the mom of Linky, my 10 years old maltese. I’ve noticed in the last year he’s really slowing down because of old age, he’s becoming blind and eating a bit less. When I tell him to sit for a treat I think his little legs hurt too much. He also has trouble sleeping, like he suddenly wakes up scared like something touched his leg. He’s my first dog so I’m not sure how to deal with all of that… he’s technically healthy but I need a bit of advice because I’m scared he feels alone and sad. Like a lot of things he used to do he can’t do anymore like jumping on my bed and sleeping with me… he now prefers his own dog bed. Sometimes I sit near him and pet him. He doesn’t really like to play anymore. I think you all get the picture. Is there anything at all I can do to make him more comfortable? Do you think he knows I still love him or does he feels alone? Sorry for the rambling and thanks for the advices, from a heartbroken maltese mom❤️‍🩹