Like many popular examples of similes, this simile anthropomorphizes an animal. In this case, the lion is presumed to have bravery, and the person is compared to that animal.