What have we gained: People believed that doing good deeds would lead to material blessings (Deuteronomy 28).
walking mournfully: People thought that showing sadness or wearing funeral clothes showed true repentance, as if these actions were righteous by themselves (see Matthew 6:1–18).