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.
Then said I in my heart, As it happens to the fool, so it happens even to me; and why was I then more wise? Then I said in my heart, that this also is vanity.
Suffer not your mouth to cause your flesh to sin; neither say you before the angel, that it was an error: why should God be angry at your voice, and destroy the work of your hands?