The unemployment benefits system is indeed designed to buffer against unemployment which is why both employees and employers pay into it.
This is like how in medieval times it was your duty to serve the lord and make him rich.