This expression is a command for people to do righteous acts instead of unrighteous acts. AT: "Behave in a way that honors God" (See: [[rc://en/ta/man/translate/figs-metonymy]])
Here "hearts" refers to a person's thoughts and emotions. AT: "make your thoughts and intentions right" (See: [[rc://en/ta/man/translate/figs-metonomy]])
The word "double-minded" refers to a person who cannot make a firm decision about something. AT: "double-minded people" or "people who cannot decide if you want to obey God or not" (See: [[rc://en/ta/man/translate/figs-metaphor]])