When the rebels attacked, why was Xie Daowen's husband and children killed while she was safe?

Because Xie Daowen's husband, Wang Ningzhi, was a man without talent, his ignorance killed him and his children.

First of all, Wang Ningzhi is the son of the great calligrapher Wang Xizhi, but he didn't inherit the advantages of his father at all, but he was superficial. I think Xie Daowen married him because of his father Wang Xizhi. If you can fall in love freely now, Xie Daowen will definitely rule out Rainbow first. Because Xie Daowen is a talented woman, among ancient women, she is a very outstanding talent. Such a talented person should be worthy of a romantic talent, but Wang Ningzhi is not such a talent.

Secondly, Wang Ningzhi not only has no talent, but also believes in ghosts and gods. As a general of the Eastern Jin Dynasty, he did not pay attention to the arrangement of troops when he went out to war. But I believe that the ghost soldiers will come back to help. He believes that as long as the ghost soldiers come to help, their army can win the war without taking any action. This tactical arrangement gave the enemy the opportunity to almost completely destroy them. Wang Ningzhi and his children were killed in the war.

However, because Xie Daowen is a woman, she didn't go to the front on the battlefield, so she escaped. The appointment of General Rainbow Ning Zhi to lead troops to fight will not only cost the lives of him and his children, but also the lives of thousands of soldiers in Qian Qian. More importantly, despite the bloodshed, it failed to resist the attack of foreign enemies and displaced more people. This is all caused by Wang Ningzhi's false belief. It can be said that it is very sad for Xie Daowen to marry such a husband. Sadly, China appointed a general, Rainbow Ninzhi.