The practice is also influenced by Judaism in the Old Testament; in the book of Exodus, God told Moses that a lamp filled with the pure oil should perpetually burn in the Tabernacle.
The practice is also shaped by Jewish traditions found in the Old Testament, specifically in the book of Exodus.  God commanded Moses to have a lamp constantly burning with pure oil within the Tabernacle.