What is the function and/or meaning of the 2 '以‘ in this phrase? I came across this phrase but I cannot really see the function or point of the 2 '以‘。 Must be old Chinese.

授人以鱼不如授人以渔。 (Translated maybe: "Knowledge is the best charity.")

What are the 2 '以‘ doing here please?
以 means "with" here

[授人(give people)] [以  (with)] [鱼 (fish)] [不如 (not as good as)] [授人 (teach people)] [以  (with) ] [渔 (lessons of fishing)]


授 can mean "to give" or " to teach"
鱼 is noun for "fish"
渔 is verb for "to fish"


授人以鱼不如授人以渔 = " It is better to teach someone to fish than give someone fish. "