Whenever YHWH is used in the Old Testament text Orthodox Jews reading the text out loud say one or more other substitute words corrupting the text
I am very doubtful that the creator deity in the Old Testament is called HaShem on account of how the Orthodox Jews corrupted the pronounciation of YHWH replacing it with substitute words
I would suspect that HaShem is a substitute word used by Orthodix Jews & not the correct name for the Old Testament creator deity or another deity altogether
So you agree they intentionally are sayinh YHWH incorrectly and substituting it with Adonai when the text does not say Adonai at that location
But you actually trust them about HaShem being correct?
But the Old Testament creator deiry is not named, "the name"
when you read the Jewish Bible (Tanakh) in the original Hebrew you say Adonai when there is the name of God, YHWH.
https://www.jewishencyclopedia.com/articles/840-adonai