Wiktionary
have one's heart in the right place
vb. (context idiomatic English) To have good intentions.