I am very sorry to hear of the USB connection issues, and can understand the impact it can have on usability of your S22. You may experience issues connecting a USB cable to your phone if the cable is damaged or if the cable and phone have been exposed to moisture. You can try using a new USB cable as well. Give this guide a look for steps to take: https://www.samsung.com/us/support/troubleshooting/TSG01212959/
If these steps do not resolve the lack of connection, you may need service on your phone. You can visit samsung.com/us/support/service to find the best repair options for you. You are also free to message us (click my profile, then click Send A Message), or by clicking this link: https://bit.ly/3hzZfw8
Please make sure your private message has your phone's model number and IMEI number for the best service possible.