go, etc. to extremes | take sth to exˈtremes
to act or be forced to act in a way that is far from normal or reasonable :
It's embarrassing the extremes he'll go to in order to impress his boss.
Taken to extremes, this kind of behaviour can be dangerous.