What is the meaning of [Sow the wind and reap the whirlwind]

One evil leads to a worse.

The source is Hosea, viii, 7: ‘For they have sown the wind, and they shall
reap the whirlwind.’