Why was this written this way? Is it some technique of Hebrew poems?
A figure of speech is language that expresses one thing in terms of another by analogy, extension, or other association. There are four kinds of figures of speech: image, symbol, simile, and metaphor. Image represents sensory experience; symbol stands for something not mentioned in the verses, metaphor compares one thing to another, and simile compares one thing to another with the use of like or as.
"There are six things the LORD hates--no, seven things he detests"
"There are three things that are too amazing for me, four that I do not understand"
Are there figures of speech in these verses?
Is there sensory experience in these lines? something that stands for something else? a comparison of one thing to another with or without like or as?
Conclusion: There are no figures of speech in these verses.