Correct, however the Bitcoin website has an answer for that: upgrade. The cryptographic methods are not fixed for all time, we can switch to other methods (which are quantum-resistant) when it becomes necessary.
Assuming they are available and deployable at that time. It's like arguing against climate change mitigation because a technological solution will present itself: you might be right, but why gamble?