This speaks of thinking hard for a long time as if it were exploring. Also, the author speaks of his feelings and his thoughts as if they were his "heart." AT: "I thought hard about" (See: [[rc://en/ta/man/translate/figs-metaphor]] and [[rc://en/ta/man/translate/figs-metonymy]])
Here the author speaks of using the wisdom that he had been taught to guide himself as if this wisdom were a person who guided him. AT: "I thought about the things that wise people had taught me" (See: [[rc://en/ta/man/translate/figs-personification]])