The article is devoted to the question of the importance of the legal ideology of modern society for the protection of spiritual and moral values. The author proceeds from the fact that legal ideology is not just a set of abstract ideas, but a practical tool that is actively used to implement such protection, and shows with concrete examples exactly how this tool is applied in practice. It describes the ideas and other components in the content of legal ideology that are instrumentally important for the protection of spiritual and moral values. The author substantiates the importance for the implementation of such protection of techniques that ensure the transmission and consolidation in the public consciousness of the content of legal ideology.