Either direct donations to devs who do work your value (but that requires following bitcoin development fairly closely and knowing who is doing what) or donating to dev funds like Open Sats and trusting they will allocate prudently. Ultimately, I would love to see a significant portion of bitcoiners tithe some portion of their annual income to open source dev funds. This is a religion, after all.