... the Jewish people considered the personal name of God to be so holy that it should never be spoken aloud. Instead of reading the word YHWH, they would normally read the Hebrew word 'adonay ("Lord"), and the ancient translations into Greek, Syriac, and Aramaic also followed this practice. ... As is common among English translations today, the ESV usually renders the personal name of God (YHWH) with the word Lord (printed in small capitals). An exception to this is when the Hebrew word 'adonay appears together with YHWH, in which case the two words are rendered together as "the Lord [in lowercase] God [in small capitals]."
And Elohim said further to Mosheh, "Thus you are to say to the children of Yisra'el, 'YHWH Elohim of your fathers, the Elohim of Abraham, the Elohim of Yitshaq, and the Elohim of Yaaqob, has sent me to you. This is My Name forever, and this is My remembrance to all generations.'
"You do not bring the Name of YHWH your Elohim to naught, for YHWH does not leave the one unpunished who brings His Name to naught.
"Till when shall it be in the heart of the prophets? — the prophets of falsehood and prophets of the deceit of their own heart, who try to make My people forget My Name by their dreams which everyone relates to his neighbour, as their fathers forgot My Name for Ba'al.
Lord is an appellation for a person or deity who has authority, control, or power over others acting like a master, a chief, or a ruler. ... Lord is used as a title of deference for various gods or deities. The earliest recorded use of Lord in the English language in a religious context was by English Bible translators such as Bede. It was widely used in the King James Bible translated in the 17th century. ... Baal ("Lord") was used by the Canaanites both as a generic term of address to various local deities and as the spoken name for the storm god Baal Haddu once the form "Hadad" became too sacred for any but his high priest to utter.
Domenico Fetti - The Sacrifice of Elijah Before the Priests of Baal
The first Semites to worship Baal were descended from Shem, the oldest son of Noah, in the 14th century B.C. Soon the royalty of all ten tribes of Israel were worshipping Baal as a sun god.
And Ěliyahu came to all the people, and said, “How long would you keep hopping between two opinions? If YHWH is Elohim, follow Him; and if Ba‛al, follow him.” But the people answered him not a word.
The Hebrew Bible, compiled and curated over a span of centuries, includes early use of the term in reference to God (known to them as Yahweh), generic use in reference to various Levantine deities, and finally pointed application towards Hadad, who was decried as a false god. That use was taken over into Christianity and Islam...
From Hebrew ... (Ba'al Zevuv) meaning "lord of flies", intended as a mocking alteration of ... (Ba'al Zevul) "Ba'al the exalted", one of the Canaanite names for their god BA'AL.