I remember that Leibniz, a famous philosopher from modernity claimed that people's personality was guarranteed by a continuity of memory. In that sense memories really are what make us who we are as people.
Yes. They can also be said to confine us, imprison us, making us who we are whether or not it's who we want to be. Holding on to memories is a two edged sword in that it's difficult to let go of the bad ones and keep the good ones. Leibriz''s continuity of memory theory is another way of saying we perpetuate a theme in our lives, whether destructive or edifying, by holding on to impressions of the past, much of which is delusion. The mind does not distinguish between something that actually occured, something we remember, or something we imagined. By 'inventing' new ways to 'be', by intentionally behaving in new ways, by visualizing what we desire to be, we can indeed change our personality and our lives.