I don't see OP's comment as condescending but I'm also not in these "should have not become a parent" shoes to tell, for sure. Insensitive? Perhaps. On a discussion board, it is hard to know who you're talking to. OP likely assumed some "persona" (different to those that might find it hurtful) before they wrote the comment.
> You hurt more than you think you are wise
We are all fighting some demon or the other. I appreciate you for bringing forth the kind most of us are (fortunate enough to be) oblivious to. Ignorance is bliss.