The heart represents thoughts and attitudes. Setting it right represents correcting it. AT: "even if you had corrected your attitude" (See: [[rc://en/ta/man/translate/figs-metaphor]])
This is a symbolic action representing asking God for help. AT: "had made an appeal and prayed to God" (See: [[rc://en/ta/man/translate/translate-symaction]])
Unrighteousness living represents people doing unrighteous things. AT: "and you did not allow the members of your household to do unrighteous things" (See: [[rc://en/ta/man/translate/figs-personification]])