Three very different meanings of decline — grammatical, social, and personal — all come from the same image: bending away. Latin dēclīnāre meant 'to slope downward' or 'to turn aside', from dē- ('away') and clīnāre ('to lean').
The grammatical sense arrived first in English. In Latin education, to 'decline' a noun was to run through its case endings — nominative, genitive, dative, accusative. The metaphor was of bending or inflecting the base form. This remains standard terminology in linguistics.
The refusal sense followed: to decline an invitation is to turn aside from it, to bend away from acceptance. The deterioration sense ('the decline of the Roman Empire') draws on the physical image of a downward slope.
The root *ḱley- ('to lean') produced an unexpectedly diverse family. To incline is to lean toward. To recline is to lean back. A clinic comes from Greek klinē, a bed — something to lean on. Most remarkably, climate derives from Greek klíma, 'a slope or zone of the earth', referring to how different latitudes lean toward the sun. The weather itself is a matter