I'll assume you're in the US based on wording.
First as mentioned above, them if the cable is bad.
Second, check if your port in the phone has dust or dirt in it. If it does, get a plastic toothpick, the kind with floss on the other end and very VERY carefully get out what you can. You don't want to drag it and snag a pin and bend it.
As for S24U or S25U? Who knows. Nothing but rumors, "leaks", and speculation. The S24U isn't going anywhere, you'll be able to get it readily. If you are a picture taker and you don't have to have the flat screen the S24U (and likely S25U will have), get an S23U, they can be found cheap. Just make sure it's a U or U1 model and reputable source. S23U is the last Samsung to have a 10x lens. The 5x 50MP has nothing on the lower Megapixel 10x on the S23U. The 24U's 5x is acceptable at up 10x but is effectively useless after that. 10x in comparison becomes acceptable at 30x. Neither are great at 100x but the 10x lens still does better because it only needs to digitally process by a factor of 10 vs 20 on the 5x.
(Ironically and coincidentally am watching ColdFusion - Samsung in Crisis on YouTube). After what I just watched, I'd be worried about their quality control vs desire for profit for 2025 and would hold off if you want the S25U until people in the wild have tested it as a stable/problem free device.