Internationally, how to achieve sustainable cities development is the focus of the UN’s 2030 Agenda for Sustainable Development (SDGs 2030). On the agenda, Sustainable Development Goal 11 (SDG 11) is to “Make cities and human settlements inclusive, safe, resilient and sustainable”. This agenda not only requires member states to formulate development strategies at the national level, but also demands local government to make reform and innovation in governance. Nowadays, the ageing of Chinese society is deepening. In the public space, conflicts between the younger generation and the older generation are frequent, which poses huge challenges to public governance: How to create a safe, resilient and sustainable public space? How to enhance societal resilience in various communities? Through in-depth study of specific cases, practical investigation, policy analysis and literature analysis, we realized that behind the competition of square dance space, there are actually hidden role differences and inter-generational conflicts between the two generations. This paper will start from the case introduction and analysis to explore how to deal with space competition of square dance and alleviate inter-generational conflict. At the same time, from the perspective of public governance, this paper puts forward the idea of creating resilient communities with the resilience capacity framework theory to enhance societal resilience and sustainable development of communities.