This is a famous line by American public commentator and humorist, Mark Twain. The phrase describes the fact that history may not repeat the exact same events, but the same patterns tend to emerge over time.