You can say 'to give him his due' or 'giving him his due' when you are praising someone for something good they have done, although you dislike other things about them.
To prawda, że nie był naturalnym przywódcą, ale trzeba mu przyznać, że przynajmniej się starał.