You are absolutely correct! The Catholic Church has maintained its teaching since before the Bible was compiled! In fact the teachings of the Catholic Church started about 2167 BC in Babylon!
Two key figures in the origin of Christmas are Nimrod, a great grandson of Noah, and his mother and wife, Semiramis, also known as Ishtar and Isis. Nimrod, known in Egypt as Osiris, was the founder of the first world empire at Babel, later known as Babylon (Genesis 10:8-12; 11:1-9). From ancient sources such as the “Epic of Gilgamesh” and records unearthed by archaeologists from long-ruined Mesopotamian and Egyptian cities, we can reconstruct subsequent events.
After Nimrod’s death (c. 2167 BC), Semiramis promoted the belief that he was a god. She claimed that she saw a full-grown evergreen tree spring out of the roots of a dead tree stump, symbolizing the springing forth of new life for Nimrod. On the anniversary of his birth, she said, Nimrod would visit the evergreen tree and leave gifts under it. His birthday fell on the winter solstice at the end of December.
A few years later, Semiramis bore a son, Horus or Gilgamesh. She declared that she had been visited by the spirit of Nimrod, who left her pregnant with the boy. Horus, she maintained, was Nimrod reincarnated. With a father, mother, and son deified, a deceptive, perverted trinity was formed.
Semiramis and Horus were worshiped as “Madonna and child.” As the generations passed, they were worshiped under other names in different countries and languages. Many of these are recognizable: Fortuna and Jupiter in Rome; Aphrodite and Adonis in Greece; and Ashtoreth/Astarte and Molech/Baal in Canaan.
http://www.bibletools.org/index.cfm/fuseaction/Topical.show/RTD/cgg/ID/388/Nimrod.htm