Cardinal
Old English, from Latin cardinalis, from cardo, cardin- ‘hinge’. cardinal (sense 1 of the noun) has arisen through the notion of the important function of such priests as ‘pivots’ of church life.
wiktionary
From Middle French cardinal, from Latin cardinālis(“pertaining to a hinge, hence applied to that on which something turns or depends, important, principal, chief”), from cardō(“hinge”) + -ālis, adjectival suffix.
etymonline
cardinal (n.)
early 12c., "one of the ecclesiastical princes who constitute the sacred college," from Medieval Latin cardinalis, originally as a noun "one of the presbyters of the chief (cardinal) churches of Rome," short for cardinalis ecclesiae Romanae or episcopus cardinalis, from Latin cardinalis (adj.) "principal, chief, essential" (see cardinal (adj.)).
The North American songbird (Cardinalis virginianus) is attested from 1670s, so named for its fine red color, resembling the cardinals in their red robes.
cardinal (adj.)
"chief, pivotal," early 14c., from Latin cardinalis "principal, chief, essential," a figurative use, literally "pertaining to a hinge," from cardo (genitive cardinis) "that on which something turns or depends; pole of the sky," originally "door hinge," which is of unknown origin. Related: Cardinally.
The cardinal numbers (1590s) are "one, two, three," etc. as opposed to ordinal numbers "first, second, third," etc.; they are so called because they are the principal numbers and the ordinals depend on them.
The cardinal points (1540s) are north, south, east, west. The cardinal sins (c. 1600) are too well known to require rehearsal. The cardinal virtues (c. 1300) were divided into natural (justice, prudence, temperance, fortitude) and theological (faith, hope, charity). The natural ones were the original classical ones, which were amended by Christians. But typically in Middle English only the first four were counted as the cardinal virtues:
Of þe uour uirtues cardinales spekeþ moche þe yealde philosofes. ["Ayenbite of Inwyt," c. 1340]
By analogy of this, and cardinal winds (late 14c.), cardinal signs (four zodiacal signs marking the equinoxes and the solstices, late 14c.), etc., the adjective in Middle English acquired an association with the number four.