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 something
and benefit from somethingto profit or gain by something. We hope to benefit by the collapse of our competition. We will all benefit from the new tax laws.