And those societal beliefs predicate how an older person is judged-and-valued in relation to the beliefs in order to justify and provide support for the beliefs. It works the same way with any person who isn't a "chap¹ like us." To a certain extent, the person being judged-and-valued is incidental to the process.
¹ what's the female cognate? Chapette? Works the same with females, anyway.