Etymology
Today it means: An expression of surprise or dismay. Full definition →
Related to land sakes.
Etymology from Wiktionary, CC BY-SA 4.0.