be for a good cause
To have a beneficial, often charitable, aim or effect. Oh, the money's going to charity? Sure, I'm willing to donate a few bucks, since it's for a good cause.
be in a good cause
To have a beneficial, often charitable, aim or effect. Mom just wants to keep you out of trouble—her rules are in a good cause.