Ten year old phone that won't charge? Just guessing but is the actual issue being you're having a problem plugging in a charger into these dated phones? Keep in mind that current Android phones now have USB Type-C ports in them, and previously they all had microUSB (a.k.a. USB - b) ports. USB Type-C plugs and ports have a different shape and size than microUSB ports and plugs so you need to use one or the other. They are not interchangeable. With old phones, you need to use a USB cable with a microUSB plug on its end to work with a the ports in the those older phones.
If you take a flashlight and look really close to the USB port on one of those phones you'll be able to see the difference and use the proper charging cable.