To be fair, Franklin and the other founders did not have the data we possess today. Social science now unequivocally shows that the less religious a society is, the better off it is. We now know that religion is not necessary for a society to succeed.