if I can’t find ammo for it that’s money wasted.
No, its just shooting DELAYED.
The rifle isn't like the milk in your fridge, it doesn't go bad past a certain date...
You can spoil it, but if so, that's your fault. Stored properly the rifle will patiently wait as long as it takes for you to get some ammo for it.
Current shortages are just that, and I firmly believe eventually supply will return. We can get toilet paper again, the world has not yet ended...
When you do get shooting save your empties and get into handloading, eventually primers and other components will return as well.