What does "life" mean in: "has given onto us all things that pertain to life and godliness"?
"Grace and peace be multiplied to you in the knowledge of God and of Jesus our Lord, as His divine power has given to us all things that pertain to life and godliness, through the knowledge of Him who called us by glory and virtue, by which have been given to us exceedingly great and precious promises, that through these you may be partakers of the divine nature, having escaped the corruption that is in the world through lust" (II Peter 1:2-4).
"Life" refers to living in this world. The Bible contains instructions for working, getting along with people, who to marry, how to raise children, how to govern, how to be a good citizen, etc. All the essentials for living life acceptably before God is contained in the Bible's pages.
"Let not mercy and truth forsake you; bind them around your neck, write them on the tablet of your heart, and so find favor and high esteem in the sight of God and man. Trust in the LORD with all your heart, and lean not on your own understanding; in all your ways acknowledge Him, and He shall direct your paths" (Proverbs 3:3-6).