Proverbs 27:18

New International Version Bible (NIV)
The one who guards a fig tree will eat its fruit,
    and whoever protects their master will be honored.

Read Proverbs 27:18 in other translations