Spending on social security benefits totalled €583 mi