That's exactly right. For unemployment insurance you pay a percentage of your payroll to the government. The percentage depends upon the number of claims your ex-employees have put on the pool of money in the unemployment insurance scheme. More claims means a higher percentage.
That makes the cost of a replacement employee higher because you're paying for the cost of prior employees' unemployment claims when you are making unemployment contributions for the new employee.
That makes the cost of a replacement employee higher because you're paying for the cost of prior employees' unemployment claims when you are making unemployment contributions for the new employee.