Anyways, to answer the OP.
*Without knowing the rest of the spell loadout
Guiding Bolt - because ice knife cannot easily be used when an ally is within 5ft of the enemy you want to target. Simply put there's just more situations guiding bolt will be useful in - and even in situations where they are both useful it takes alot of targets in the small aoe before ice knife is clearly better than guiding bolt.
Now, if you already have 1 good single target 1st level damage spell - magic missile, chromatic orb, etc - then i'd lean much more toward ice knife.