What God had in mind while laying foundation of earth?