The title "Die Hard" originates from a 1988 short story by Roderick Thorp titled "Nothing Lasts Forever." The protagonist, NYPD cop John McClane, gets caught in a hostage situation at Nakatomi Plaza in LA. The story's working title was "Die Hard," which filmmakers adopted as fitting for the action-thriller tone.
Thus, the movie title was inspired by the source story's working title, not the film itself.