Yup, it has happen to me too. I have around 20 years in software development.
Around 9 years ago...
Me: We can abstract most of that data access with a simple table oriented orm. Not all of it, but a good 80%.
Younger Developer: Nope, That is what record sets are for, it is right here in the Microsoft docs (pointing to the ado api)
...
5 years later, he had moved to a different company, and I received a phone call from him: Just called to say that now I understand what you wanted and how it is simpler.
Me: Then I failed to communicate properly. What could I have say that would have make you give it a chance?
Him: Nothing, I needed to learn it the hard way.
Experience teach.
A few months ago, working with very young dev. team.
Tech lead (late 20s): We need to do all using TDD, if it is not TDD we don't touch it.
Me: Agree, but TDD is one of several tools to DDD; the developer needs to understand what its building, not just that all checks are in green.
Tech Lead: The devs only need the proper test.
Now they drop the core calculations from the project because they couldn't understand them by just looking at the tests, I got task with that, and a salary increase. And some how the tech lead think it is unfair because he "gets" Git and Resharper much better than me.
Aaawww, the luxury of being young.