Why would I use Scorching Ray?

I have a level 3 light domain cleric. I have both the 1st level spell Guiding Bolt and the 2nd level spell Scorching Ray.

When I use a 2nd level spell slot with Guiding Bolt the damage is 5d6 and attacks against the target have advantage for a round, while Scorching Ray with a 2nd level spel slot is 6d6 damage, but you have to roll three times for each ray (which is 2d6) and it’s rare for all three attacks to succeed.

What are the pros & cons of Scorching Ray? Why would I want to use it instead of Guiding Bolt?