What is the meaning of [He will give the Devil his due]

Literally, pay the devil what you owe him. Used figuratively to mean ‘give back what you owe’, either money or favours.
From Shakespeare’s Henry V Part 1, 1597:

ORLÉANS: And I will take up that with “Give the devil his due.”