Mary provides for us an excellent example concerning how we should live life. We are to treasure and ponder all of the good things.

But Mary treasured all these things, pondering them in her heart. – Luke 2:15

syntēreō – treasure

1. to preserve (a thing from perishing or being lost)

2. to keep within one’s self, keep in mind (a thing, lest it be forgotten)

symballō – pondering

1. to throw together, to bring together

a. to converse

b. to bring together in one’s mind, confer with one’s self

Finally, brethren, whatever is true, whatever is honorable, whatever is right, whatever is pure, whatever is lovely, whatever is of good repute, if there is any excellence and if anything worthy of praise, dwell on these things. – Philippians 4:8

By treasuring and pondering the good things, we protect our hearts from evil things.