Need help with the "for each key with value in dictionary" block

I need to shorten the code on the left using a "for" block, I thought this would be possible to do with the code on the right but it doesn't work, does anybody know how the code can be shortened?

no need of for each key with value in dictionary , but get value in dictionary by key and any label.text