Unintended consequences
The idea of unintended consequences dates back at least to the 18th century when Adam Smith wrote about men who are "led by an invisible hand to promote an end which was no part of his invention".