What is the meaning of [Neither a borrower nor a lender be]

Literal meaning.

From Shakespeare’s Hamlet, 1602:

LORD POLONIUS:
Neither a borrower nor a lender be;
For loan oft loses both itself and friend,
And borrowing dulls the edge of husbandry.