Zend certified PHP/Magento developer

Changing Devices and WhatsApp app

I am trying to switch my WhatsApp app from one device, Nokia G50 (running Android) to Galaxy A35 (running Android).
When I launch the app in the new device it asks me to scan a QR code with the camera from
within the WhatsApp in the old phone. The problem is that in the old phone I no longer have a SIM so the app is not registered on that phone anymore. And in the new phone I have an eSIM so I also cannot move any SIM back to the old phone.
My goal is to transfer all the WhatsApp data from the old phone to the new one.