Joel Osteen faces criticism on social media for closing Houston megachurch's doors amid Harvey

Ten of thousands are expected to need shelter in the area after flooding.

In a post on Twitter Saturday, Osteen said he was praying for those affected by the storm, which has dumped 20 to 40 inches of rain on the Houston area, with more on the way.

But on Sunday, in response to requests that the church, which can hold more than 16,000 people, be opened for evacuees, Lakewood Church posted on Facebook that it is "inaccessible due to severe flooding" and directed displaced residents to shelters in the city.

In response, Osteen insisted in a statement Monday evening that he and his church are "prepared to house people once shelters reach capacity."

"We have never closed our doors. We will continue to be a distribution center for those in need," the statement reads.

It adds, "Lakewood will be a value to the community in the aftermath of this storm in helping our fellow citizens rebuild their lives."

Lakewood Church sent photos that it says show flooding in and around the building.

Thousands of evacuees have streamed in by the busload to Houston's George R. Brown Convention Center, the largest shelter serving victims of Harvey. The shelter originally said it could take 5,000 people but is currently over capacity, with 6,000.

Tens of thousands of area residents are expected to need shelter in the area because of catastrophic flooding, according to officials.

On Twitter earlier on Monday, Osteen urged his followers to donate on his church's website to help with relief efforts.

ABC News' Anastasia Williams contributed to this report.