Friedrich Nietzsche said this quote

Character is determined more by the lack of certain experiences than by those one has had.