Which doeth great things past finding out; yea, and wonders without number.(Job 9:10) KJV
Welcome to a world where God and the Bible make sense. Creation has a purpose. It exists for a reason. This provides a broad narrative in which God has provided Himself with eternal companions who, by free will, choose to be there.
God created a corrupted physical system, which would decay and collapse in on itself, as a way to give us life with free will. Free will is essential because God isn’t going to make anyone spend eternity with Him who doesn’t want to. Here’s our working definition of the purpose of creation.
The purpose of creation is to bring about the permanent physical separation of light from darkness, day from night, good from evil.– The Purpose of Creation
God hasn’t kept anything secret about the reason for why creation is the way it is. Nor why things that haven’t come to pass will eventually come to pass. Corruption and impurity are being refined out of the world it so that it may be disposed of.
No man, when he hath lighted a candle, covereth it with a vessel, or putteth it under a bed; but setteth it on a candlestick, that they which enter in may see the light. For nothing is secret, that shall not be made manifest; neither any thing hid, that shall not be known and come abroad. Take heed therefore how ye hear: for whosoever hath, to him shall be given; and whosoever hath not, from him shall be taken even that which he seemeth to have.(Luke 8:16-18) KJV