And all Israel, sojourner as well as native born, with their elders and officers and their judges, stood on opposite sides of the ark before the Levitical priests who carried the ark of the covenant of YHWH, half of them in front of Mount Gerizim and half of them in front of Mount Ebal, just as Moses the servant of YHWH had commanded at the first, to bless the people of Israel.
Joshua 8:33
All of God's people--men, women, and children--are accountable for their obedience to his law and will participate in the curses and blessings that accompany national disobedience and obedience. In the final judgment, however, fathers won't pay for the sins of their children and vice versa. Each person builds his own house out of stubble or gold as he chooses.