How did Hobbes say people could escape a bleak life?

Heyoooo! I Hope you are doing well!I also hope this answers your question!
Well Hobbes argued that to escape such a bleak life, people had to hand over their rights to a strong ruler. And for handing over their rights they would gain law and order. Hobbes called this agreement, the social contract!
Hope this helps!!
-Wolfiep1873 <3