“pleases him.” The Hebrew is idiomatic: “good to His face.”
“to give to the one who pleases God.” This is similar to Proverbs 13:22. This expresses an ideal situation, not what always happens in life.
“pointless.” See commentary on Ecclesiastes 1:2.