The key to interpreting most allegories [i.e., parables] lies in recognizing what a small handful of characters, actions or symbols correspond to and then fitting the rest of the story in with them.
In this context (Matthew 6)…storing up treasures focuses particularly on the compassionate use of material resources to meet others’ physical and spiritual needs, in keeping with the priorities of God...