Various themes, plot elements, and characters in the Epic of Gilgamesh have counterparts in the Hebrew Bible—notably, the accounts of the Garden of Eden, the advice from Ecclesiastes, and the Genesis flood narrative.