“For by him all things were created, in heaven and on earth, visible and invisible, whether thrones or dominions or rulers or authorities—all things were created through him and for him.” (Col. 1:16 ESV)
“All things were made through him, and without him was not any thing made that was made” (John 1:3 ESV)
The above passages are perfectly clear that God created everything that exists and why. It was by Him and for Him. Not only did He create everything, He has the perfect right to do anything He wants with everything.
He is worthy in all respects
“Worthy are you, our Lord and God, to receive glory and honor and power, for you created all things, and by your will they existed and were created.” (Rev. 4:11 ESV)
Therefore
“The Lord has made everything for its purpose, even the wicked for the day of trouble.” (Prov. 16:4 ESV)
“For from him and through him and to him are all things. To him be glory forever. Amen.” (Rom. 11:36 ESV)