Fetching details from the dictionary...
to take a lesson from (someone serving as an example); to learn from someone's example; to boil the dirt under (someone's) fingernails and drink it