Take advantage of (someone or something)

To use someone or something for one`s own benefit.

We took advantage of the beautiful weather and went to the beach.