Premanand Maharaj Ji
Does being grateful to someone mean I must put up with their wrong behaviour?
Gratitude should not bind you to wrong
The favour is Bhagwan's, and the person is only his instrument (nimitt). So credit Bhagwan with the favour, and do not go on enduring adharma (wrong conduct) out of gratitude.
You were made the instrument, so I bow to you. I respect you like Bhagwan, but not as equal, not as equal.