If you are down but you didn't do something wrong, or you did but you didn't intend to, it means life treat you unjustly, so you can feel 委屈。
When someone is in a bad situation caused by himself, he shouldn't be 委屈. If he does, the others can blame him, "你有什么好委屈的?”