Welcome back Hammer!
I assume you mean Guiding Bolt? As a cleric Dok does not have a lightning bolt. Different spell, different class and higher level spell.
You are a bit over 40' from those directly in front of you. Add some distance if you are looking at angles or ones further back.
Guiding bolt - range of 120' Easily within range of anyone you can see except the furthest out archers in the river. FYI - Guiding bolt does 4d6 damage and gives advantage to the next attack on them. It is serious overkill on a normal goblin.
Spiritual weapon - you can have the magical weapon appear anywhere within 60' of your location - so you can get to several targets. Plus, as a bonus action, you can move it 20' per turn and still attack with it. So you could cast it and then move it. You have targets. Remember that once cast it sticks around for 10 rounds. It takes your action on the first turn to cast it, but on subsequent round you can attack (and do the move 20') as a bonus action leaving you your action to do other things like attack normally.
To everyone - I don't normally offer advice (like Guiding bolt is overkill on a goblin) but if you are unsure of anything please do not hesitate to ask. I'm more than happy to let you know the details of how a spell or ability will work.