heart is in the right place

[heart is in the right place] or [have one's heart in the rightplace] To be kind-hearted, sympathetic or well-meaning; have goodintentions.

All the tramps and stray dogs in the neighborhood knewthat Mrs. Brown's heart was in the right place.

Tom looks veryrough but his heart is in the right place.