benefit by (something)
To gain from a particular experience, change, or occurrence. We will all benefit by moving to a warmer, sunnier climate. You may hate it now, but I guarantee you will benefit by your time as an intern.
benefit by somethingand benefit from something
to profit or gain by something. We hope to benefit by the collapse of our competition. We will all benefit from the new tax laws.