There are two main ways to obtain a Bandos hilt in RuneScape:
Head to the God Wars Dungeon and defeat 40 hobgoblins to unlock the Bandos boss room. From there, you can take on the boss for a chance at a Bandos hilt drop. You'll want your stats above 80 and around 10 million in resources to be properly prepared for the fight.
Alternatively, you can purchase a Bandos hilt directly from the Grand Exchange for around 22 million. Keep in mind that to assemble the full godsword, you'll also need the other shards.
Either path takes effort and resources, but both will get you closer to that coveted godsword.