A primitive particle; properly interrogitive what ? (including how ?, why ? and when ?); but also exclamations like what ! (including how !), or indefinitely what (including whatever, and even relatively that which); often used with prefixes in various adverbial or conjugational sneses: - how (long, oft, [-soever]), [no-] thing, what (end, good, purpose, thing), whereby (-fore, -in, -to, -with), (for) why.
752 occurrences in 658 verses in the Hebrew Old Testament.
And the Spirit of God came on Zechariah the son of Jehoiada the priest, which stood above the people, and said to them, Thus said God, Why transgress you the commandments of the LORD, that you cannot prosper? because you have forsaken the LORD, he has also forsaken you.
Why the anger of the LORD was kindled against Amaziah, and he sent to him a prophet, which said to him, Why have you sought after the gods of the people, which could not deliver their own people out of your hand?
And it came to pass, as he talked with him, that the king said to him, Are you made of the king's counsel? forbear; why should you be smitten? Then the prophet declined, and said, I know that God has determined to destroy you, because you have done this, and have not listened to my counsel.
You say, See, you have smitten the Edomites; and your heart lifts you up to boast: abide now at home; why should you meddle to your hurt, that you should fall, even you, and Judah with you?
So there was gathered much people together, who stopped all the fountains, and the brook that ran through the middle of the land, saying, Why should the kings of Assyria come, and find much water?
לָמָּהla·mahto why?R/PiH4100
The highlighted words show how this word is translated in each verse. Some verses have no highlight, and a few highlights may not be exact.