Sometimes can have a negative connotation too, saying that someone should have tried for something better.