Well, first of all, no matter how many good works we do, Jack, those don’t get us to heaven: only Jesus’ perfect life (= perfect works) and perfect atonement can do that. But, once we are in Him, our purpose is to be (as He Himself puts it) “a people zealous for good works.” It’s what the design of the Newness of Life (Romans 6:4) is all about. So, if you’re doing the good works bec. you think they will get you to heaven, it’s not only the wrong motivation, but it also won’t work (pardon the pun). If on the other hand you do them bec. you know it’s part of His design for the regenerate believer (and yes, bec. you want to please Him—out of love, not bec. you figure He’s going to give you brownie points), then your motivation is valid.
(And no, I’m not going to get into a works vs. faith debate, sorry.)