Genealogy Church Records

Do you have to have genealogy records with you to go to church?
According to Deuteronomy 23:2 illegitimate children are not allowed to attend to church or their children to the tenth generation. So if my great, great, great, great, great, great, great grandfather was illegitimate means no allowed to attend church? @ Salvos: Can you answer the question?
Well, that's a relief to you if you are the offspring of an illegitimate child somewhere on the line. You do not have to give 10% of their income to a church or waste an entire day (or more) with people waving their mouths to you. It sounds more like a reward than a punishment for me. I had run with him.
Beyonce Sings Church Bells – Cadillac Records – 12/5