What is the meaning of [the devil looks after his own]

Bad or undeserving people often prosper and thrive; said in response to the success or good fortune of such a person.