Thanks for the feedback!
My initial idea was to make it so that the player would have to try to clear out the room before the timer on their health runs out. However, since I was making this for a game jam, I ran out of time to properly balance that situation from happening consistently.
I agree that I should look into adding more time to the healing and possibly an attack buff if I were to try at the design again. Your comment was pretty insightful, so I really appreciate it!