I believe you when you insist you were trying to be encouraging. It’s just that it didn’t come across that way, and several other users flagged and downvoted it, presumably for that reason. We often underestimate how our words come across. What seems like reasonable, friendly advice when formulated in our minds can end up coming across as a snarky personal attack by the time end turns into words on a screen read by strangers.
It’s all good, please just be mindful of this and think about how you can avoid your intended sentiment being lost next time you post this kind of comment.
I'd rather use encouraging words than moderation but use the method you prefer, it's your platform.