"Nice guys finish last" is an idea that those with good morals ("nice guys") are less likely to succeed ("finish last") than those with bad morals or intentions. It often refers to dating, suggesting that people would rather date those who are mean to them than those who are nice.