If the society/government is making prudent and sound decisions for the health and long term success of the society as a whole. Individuals will be more optimistic and prudent themselves. The reverse is also true as we see ourselves. The morality will naturally be a result of those decisions. Not a fat lawbook.