At that time, the country was severely divided. Because the war lasted for decades, there is no doubt that the people are the group that suffered the most. At that time, Buddhist thought had been introduced into China, and the idea of "suffering in this life and being happy in the afterlife" advocated by it was undoubtedly a good medicine for the rulers to appease the people. Therefore, Buddhist thought developed in that period. Therefore, the supporters of Buddhist thought are even more prosperous, from the upper rulers to the lower civilians, all of them learn Buddhism. Therefore, it is not surprising that there was a strange phenomenon that the queen became a nun in the Northern and Southern Dynasties.
Moreover, that era has always been a year of war, and the royal family may not be completely safe. Because many small countries were swallowed up by other countries after only ten years of existence, you can imagine the fate of those queens and concubines in the backyard of the Deep Palace. At this time, the queen may have a chance to become a nun in the temple. After all, being a nun means staying with the ancient Buddha in Deng Qing forever. At that time, the Buddha was extremely important, so even if the country was really destroyed, the temple would not be destroyed. After all, destroying temple fairs loses people's hearts. I don't believe that a sighted ruler would do such a thing.
What's more, when a queen of a country goes to a temple to be a nun, she probably wants to pray for her country.