Definition
To cause serious damage, disruption, or problems for something; to have a severely negative impact on something.
The storm played merry hell with the coastal areas.
The system upgrade played merry hell with my computer.
The constant stress played merry hell with his health.