I would approach this from a different direction, to backup the data from the phone you want to keep, then do a factory reset which will effectively remove all the apps and allow you to reinstall what you now require.
It will also remove any orphaned data and folders that uninstalling the apps could leave behind.
Using the python tool AMDH, that use ADB, with the option '-l' (list applications) with the argument '-t e' (list all enabled applications, including system apps) will list numbered installed applications by package name. You can select applications numbers separated by comma and choose the action uninstall ('u'). Uninstalling some system apps can break your ...
Assuming you have your local files all, databases and images.
First deactivate google drive.
Open google drive.
Top left menu, backups, deactivate Google Drive WhatsApp backup
(option to delete also, not necessary)
Copy all files over to WhatsApp folder on phone
Re-do the login procedure as usual.
In theory that's it.
You can access the files inside the termux folder by simply doing this. (Without using any third-party app/rooting your device)
Step 1: Go to Downloads on your Device
Step 2: Go to the Appbar
Step 3: Scroll down till you find Termux
Step 4: Click on Termux and you can see your files