Matthew 6:1:
“Be careful not to practice your righteousness in front of others to be seen by them. If you do, you will have no reward from your Father in heaven.
I think this is a good practice, because if you give only so that other people are watching, you are not truly giving from your heart.