If your labels are siblings of data value, you may use getByText and specify the next span with a +
in the locator.
For example
const html = `
<span>Bescheid</span>
<span> 2010 </span>
`
await page.setContent(html);
const text = await page.getByText('Bescheid').locator('+ span').textContent();
expect(text).toBe(' 2010 ');