Then Job answered and said, “I know it is so of a truth: but how should man be just with God? If he will contend with Him, he cannot answer Him one of a thousand. He is wise in heart, and mighty in strength: who hath hardened himself against Him, and hath prospered? Which removeth the mountains, and they know not: which overturneth them in His anger. Which shaketh the earth out of her place, and the pillars thereof tremble. Which commandeth the sun, and it riseth not; and sealeth up the stars. Which alone spreadeth out the heavens, and treadeth upon the waves of the sea. Which maketh Arcturus, Orion, and Pleiades, and the chambers of the south. Which doeth great things past finding out; yea, and wonders without number…” Job 9:1-10
Further reading: Job 8; 9; 10; Psalm 130:3; Isaiah 40:26-28; 57:15-16; Romans 3:20; 5:1; 8:1; 9:20; 11:33; Ephesians 3:20; 1 John 1:8; 3:20
To answer the question; by believing Jesus, and that He died on the cross for our sins, was buried, and He rose again. He paid our sin debt.