Where Hilbert erred was looking for foundations in first-order logic. Univalent foundations are laid on high-order logic. It's the distinction between top-down and bottom-up thinking. If you are into philosophy/epistemology - it's somewhat of an attempt to shift Mathematics from foundationalism towards structuralism. I recommend this video: ▶ this video Hilbert's dream of Metamathematics has sort of come true in the form of homoiconicity in programming languages.
in “A Programmer’s Regret: Neglecting Math at University” · View on HN