In The Man with the Golden Gun, Francisco Scaramanga attempts to draw a false equivalence between himself and James Bond with this line. It’s a superficially clever sentiment, but fundamentally disingenuous. A government intelligence officer and a contract killer do not share the same vocation simply because both are capable of lethal force.
Bond operates under the authority of the Crown, tasked with protecting national security and, by extension, civilian lives. His actions, however morally complex, are tied to state objectives and a sworn duty to uphold the interests of the United Kingdom. Scaramanga, by contrast, is motivated purely by profit and his allegiance is to the highest bidder, not to principle or public good.
The loneliness Scaramanga describes may be real, but their professions are not equivalent since Bond serves his nation and Scaramanga serves himself.

