You didn't miss by much, but "in a measure that" doesn't work, and the sentence is quite hard to decipher. Trying to keep as close to your version as possible, I would have made it "Surprise diminishes, as does the capacity of a filling pitcher, in inverse measure that the water of experience fills the void."