Genesis 41:8

41:8 In the morning he was troubled, so he called for all the diviner-priests of Egypt and all its wise men. Pharaoh told them his dreams, but no one could interpret them for him.

Daniel 2:12

2:12 Because of this the king got furiously angry and gave orders to destroy all the wise men of Babylon.