He 'profited by' his experience/mistake. [=he learned something useful from his experience/mistake]
The book can be read with 'profit' by anyone who wants to understand how the system works.
We sold the house 'at a profit'. [=we made a profit when we sold our house]
(..) Pick! I don't want to shoot with you, Harvey. Anything you say, Butch. Maybe there's a way to make a profit in this. Bet on Logan. I would, but who'd bet on you? Sundance... when we're done (..)1969 Butch Cassidy and the Sundance Kid