From Wiktionary, the free dictionary
vakka (“type of wooden container, bushel”) + kansi (“cap”) + -nsa (“third person possessive suffix”) + valitsee (“chooses”)
vakka kantensa valitsee
- a man is known by the company he keeps (people are similar in character to their friends)