During the 16th century in Japan, Shinobi were most commonly hired to carry out espionage, sabotage, and assassination missions. These activities were essential during times of war, as they could provide crucial information about the enemy and help to weaken them from the inside. While Shinobi were often associated with negative connotations, they played a vital role in Japanese history and culture.
Hope this helps :)