somebody’s heart is in the right place
US /ˈsʌm.bə.diz hɑːrt ɪz ɪn ðə raɪt pleɪs/
UK /ˈsʌm.bə.diz hɑːrt ɪz ɪn ðə raɪt pleɪs/

1.
used to say that someone is kind and means well, even if they make mistakes or cause problems
:
•
She might be a bit clumsy, but her heart is in the right place.
•
Even though he made a mess, you know his heart is in the right place.