Here the wrath of God is spoken of as if it were a drink that a person can taste, and tasting is a metonym for experiencing the drink. Job wants the wicked person to experience God's punishment. (See: [[rc://en/ta/man/translate/figs-metaphor]] and [[rc://en/ta/man/translate/figs-metonymy]])