Origin of courteous
Courteous reaches English through Middle English, Old French, French, German and Russian. Courteous today means “Showing regard or thought for others; especially, displaying good manners or etiquette”.
Etymology of courteous
From Middle English curteis, from Old French curteis (French courtois), from cort (“court”). By surface analysis, court + -eous. Compare typologically Czech zdvořilý (<~ dvůr), German höflich (<~ Hof). Also note Russian прийти́сь ко двору́ (prijtísʹ ko dvorú). Compare typologically civil, urbane. See pagan for the opposite.
Etymology text from Wiktionary (CC BY-SA 4.0). Asterisked forms are reconstructed, not attested.