It absolutely offers protection. Water pressure on pyramidal shape would be inferior than applied on a perpandicular wall.
As I said, from gravity. Which is irrelevant. The world was not suddenly crushed uned a new ocean. Oh wait, you are going to claim that coal and oil appeared suddenly during the flood.