As @warsofasoiaf will tell you, this is not correct. Yes, it’s true there were poorly- armed, armored, and trained peasant levies on occasion, but the majority of infantry were professional soldiers, be they archers, dismounted men-at-arms, pike/spearmen, etc.
It’s true that knights were the major focus of medieval armies, but it’s also true that the battles of Crecy, Poiters, and Agincourt which showed their fatal weakness in the face of archers protected by disciplined infantry also took place during the same period.