In the bible Jesus' genealogy is recorded without any attempt to hide some of the skeletons in the family cupboard. God wants us to live free from the past and free from things that catch us out in the present. Heaven's strategy for this is confession. When we bring sin into the light its power is broken and we can be healed.