Proverbs 8:22 onward and many other places imply a much older earth than 6,000 years. Also, the light in verse is from the sun though it was not visible as a heavenly body because the sky (the first heaven) was not visibly clear until verse 14. The point of reference is established in verse 2 as upon the face of the waters (earth’s surface). God’s days in Genesis chapter 1 are ages of time and do not contradict the speed of light, radioactive decay and other laws of physics established in the creation.
Proverbs 8:22 teaches that the Wisdom of God preceded Creation, I have no dispute with that. As for the Sun, it wasn’t created until the fourth day. Those natural laws you cited are the laws of the Creator, I agree so there is no way that He wouls contradict them, however, I believe that All of Creation was created in a perfect and mature state. In other words, Adam wasn’t created as a fetus, but s a full grown man, so also trees, mountains, lights of all kinds, (Celestial) were created in a functioning complete, form.The Days in Genesis are cited as “Evening and morning”, therefor they re days as we know them.