Literal Meaning
Wisdom (or good advice) is given to you by a friend; a lion advises its killer
Implied Meaning
One can either receive advice directly from a friend, or indirectly from an external source like a book
Origin
When a lion charges at somebody, it advises him to kill it before it kills him