This water damage caused by a faulty shower grouting job is an example of the devastation water can cause when unchecked. The subfloor in this bathroom will have to be replaced along with other things.
The electrical should also be removed to safer area of the room.