To sow or plant the wind is to act in useless or destructive ways. To reap the whirlwind is to suffer disaster from one's own actions. (See: [[rc://en/ta/man/jit/figs-metaphor]])
Here "head" refers to the part of the plant where the grain is. A stalk with no head has nothing to give to the farmer. In the same way, Israel's actions will result in nothing good. (See: [[rc://en/ta/man/jit/figs-idiom]])
If any of Israel's actions do happen to result in something good, Israel's enemies will come and take it from them. (See: [[rc://en/ta/man/jit/figs-metaphor]])