Intelligent people often reach the same conclusions independently, used when two people have the same idea.
This phrase appeared in the early 1600s and was often completed with "but fools seldom differ," adding a cautionary note about the difference between wisdom and mere conformity. The shortened version became popular as a complimentary way to acknowledge shared insights or simultaneous discoveries.
Try Another Word