A ‘setup’ may be worthwhile if your guitar has bad ‘action’ or if the intonation is out.
The ‘action’ is the distance between the strings and the fretboard, thus the higher the action, the more force needed to apply a chord shape. This can result in a ‘cheese wire’ effect on your fingers. You might get this a little anyway with a guitar with good ‘action’ as you are a beginner and might not be used to it.
The intonation is correct when a note can be played across any fret and still be in tune. If the intonation is out then notes will slowly become out of tune the higher up the fretboard you play them.
If the guitar is old or well used, a setup could also involve the replacement of various components such as worn-in frets, tuning pegs, or even the bridge (what the strings sit on at the body end) but as you’re a beginner my guess is you have a new instrument?
So if you feel like your ‘action’ needs fine-tuning, then it could make your playing more comfortable and certain chord shapes easier to ‘fret’, such as barre chords (‘fretting’ two or more strings with one finger).
The intonation is also very important, in my opinion, and makes the guitar sound so much better.
However, I don’t think it would be a cheap service, so only go for it if you’re serious about playing and your guitar is of high quality, otherwise the ‘setup’ could be worth more than the guitar itself!