Complex sentence: People have always had weapons for a variety of reasons, whether it be for hunting or attacking.
Split into simpler sentences: People have always had weapons for a variety of reasons. Whether it be for hunting or attacking.