Which preposition to use with chastenings

of Occurrences 6%

It touched the heart of the whole people, and for the time they arose, purified, contrite, as the armies of Moses under the chastening of the rod.

with Occurrences 1%

We progressed onward by a process of alternate stops and starts, through a land bearing remarkably few traces to show for its recent chastening with sword and torch, until in the middle of the blazing hot forenoon we came to Gembloux, which I think must be the place where all the flies in Belgium are spawned.

Which preposition to use with  chastenings