As a melee Hexblade, getting just Eldritch Blast is a low cost way to always have a decent ranged attack as a backup for those moments when you really need one. It's reasonably powerful and better than trying to fumble around with alternative weapon, and the cost of a cantrip pick isn't high.