I’m not a fan of this dichotomy - you assume the two are mutually exclusive. There's analysis paralysis (no “doing”) on one extreme and blind ambition on the other (no book knowledge). I doubt many people advocate either.
Why can’t you build things while setting aside time to learn from other peoples mistakes?