The knight in shining armor is undoubtedly the first image that comes to mind for most people when they think about warfare during the Middle Ages .