“Can you hunt the prey for the lion, or satisfy the appetite of the young lions, when they crouch in their dens or lie in wait in the thicket?” (Job 38:39-40)
No. God said in Genesis 1:30 that all the animals were created herbivores. God also prophesied in Isaiah 65:25 that in the kingdom the lion will eat straw like the ox. So it is clear from scripture that God’s will for all animals, and specifically for lions, is for them to be peaceful herbivores.
This passage in Job is part of a long talk God has with Job, for the purpose of humbling Job, where dozens of examples are given, each with the purpose of showing Job that there are many things Job does not know or have the power to do. The passage has nothing to do with endorsing predation, nor is it intended to present an idea that contradicts the passages in Genesis and Isaiah where God expressly states his will for animals.