
Do yourself/somebody an injustice
Self-belief Impact
Using the phrase indicates a lack of confidence in oneself or someone else, often wrongly. 
Positive Encouragement
It's used to reassure someone that they're more capable or deserving than they believe. 
Humble Perspective
People often use it modestly to suggest they or others may have been underestimated. 