Here the word "heart" refers to a person's thoughts and emotions. "Gladness" describes either 1) the state of the emotions of being happy and peaceful or 2) the ability to understand the truth. AT: "right thinking" (See: [[rc://en/ta/man/translate/figs-metonymy]])