Find the word definition

Wiktionary
have one's heart in the right place

vb. (context idiomatic English) To have good intentions.