The fact that state Constitutions have it is not relevant. The Federal Constitution was designed the way it was precisely to limit the power of the Fed in religious matters and let states decide for themselves - and they did. The DOI has no legal standing whatsoever.
If you Google the word Hammurabi you can clearly see the date given.