This expression is a command for people to do righteous acts instead of unrighteous acts. Alternate translation: "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. Alternate translation: "make your thoughts and intentions right" (See: [[rc://en/ta/man/translate/figs-metonymy]])
The word "double-minded" refers to a person who cannot make a firm decision about something. Alternate translation: "double-minded people" or "people who cannot decide if you want to obey God or not" (See: [[rc://en/ta/man/translate/figs-metaphor]])