Have one’s heart in the right place

To have good intentions (even if the results may be bad).

The woman has her heart in the right place and is always ready to help if she can.