Besides age is not an indicator of quality of work, nor are college credentials. I’ve seen much older devs run circles around younger ones, and vice versa.
Even if you're right, it's not a great argument, because there isn't really a rational counter argument.
If the argument is based on a pattern you've seen before that's germane to the situation at hand - the "I've seen this movie before and it ends with regret and a data breach" argument - it can be much more convincing.
This sounds like you want the respect due to age alone.
The respect due to age alone is horrible. I wouldn't inflict it on my worst enemies.
The respect due to age and experience, on the other hand, is substantial, and something to strive for.
Back up your gray hairs :) with some relevant knowledge and the intelligent people will listen attentively.
This sounds like something coming from the advanced or expert beginner:
https://daedtech.com/how-developers-stop-learning-rise-of-th...
What I actually mostly do is saying "Doing X never works, because Y, instead I like to do Z because...", and it has reasonable success.
If it's two people arguing their own opinions at each other and neither one has relevant data where exactly do you go from there? The one with 2 years experience or the one with 15?