Genesis 36 uses “duke” to mean an Edomite chief or clan leader, not a European nobleman, showing Esau’s descendants’ early tribal rulers.
Genesis 34–36 reveals sin, violence, grief, and idolatry, yet also God’s covenant faithfulness, calling Jacob to Bethel, worship, and purity.