take a toll

中上級 (B2) neutral

Have a damaging effect on something or someone.

"Years of night shifts had taken a toll on his health."