A wicked man taketh a gift out of the bosom to pervert the ways of judgment.
A wicked (man) (or judge) taketh a gift out of the bosom (taken out of the giver's bosom), to pervert the ways of judgment - to pervert the due course of justice by quibbles and loopholes of escape. The "bosom" implies the secrecy of the offer of the bribe: a gift hidden in the bosom (Proverbs 15:27; Deuteronomy 16:19).