'Shrine' traces to Latin 'scrinium' (book-case) — repurposed for reliquaries, then holy places.
A holy or sacred place dedicated to a specific deity, ancestor, hero, or saint, often marked by a structure or relics associated with the venerated figure.
From Old English 'scrīn,' meaning a chest, case, or reliquary, borrowed from Latin 'scrīnium,' which denoted a case or chest for keeping books, papers, or letters. The Latin word is of uncertain ultimate origin, possibly related to a root meaning to cut or separate. The semantic shift from 'container for documents' to 'container for holy relics' occurred
The same Latin 'scrīnium' that gave English 'shrine' also produced Italian 'scrigno' (a jewel box) and French 'écrin' (a jewelry case) — showing that in Romance languages, the word kept its original sense of a precious container, while in English it underwent a dramatic religious transformation.