What is the meaning of [kissing goes by favor]

People often bestow honors and privileges on those they like, rather than on those who are most worthy of them.