Since the reform and opening up, with the acceleration of rural urbanization and the development of rural social economy, the spiritual outlook of farmers has changed greatly. However, with the development of market economy and the decline of rural collective undertakings, there are many problems in farmers' moral construction, one of which is the lack of farmers' public spirit. The lack of farmers' public spirit has brought severe challenges to rural society. In rural areas, the public infrastructure of villages is damaged, and villagers are indifferent to each other. The phenomenon of "everyone sweeps the snow in front of his door, never mind the frost on others' tiles" is common. The root causes of these problems in rural society lie in the mobility and dispersion of rural society, the decline of rural collective economy, the reduction of farmers' public activity space, the lagging development of rural non-governmental organizations and the deepening of rural marketization. Therefore, in the context of rural revitalization, it is necessary to reshape the public spirit of farmers for consolidating the ideological basis of Rural Revitalization.