Compound doesn't pay you to borrow funds; however, it determines how much you are allowed to borrow based on the value of the involved asset.