Strike a balance (between two or more things)

To find a satisfactory compromise between two extremes.

My father works hard to strike a balance between his family and his job.