Would this to be to drain water from the pool deck or from a high water event in the pool?

We have a REALLY high water table - we are only about 5 feet above the current water table level - so drainage is really important.