What does the Bible say about the emotional and spiritual impact of divorce on children?

Bible guidance on divorce's impact on children