Must You Have “Intent” When Doing a Good Deed?

From Hilchot Bein Adam l’Chaveiro by R Aryeh Kerzner.