What is the meaning of Romans 1:22-23?

22 Professing themselves to be wise, they became fools, 23 And changed the glory of the uncorruptible God into an image made like to corruptible man, and to birds, and fourfooted beasts, and creeping things. (Romans 1:22-23 KJV)

William Burkitt’s Commentary

The next sin which the Apostle Paul charges upon the Gentiles is the sin of idolatry. Those who professed themselves to be the wisest and knowledgable among the Gentiles such as their celebrated philosophers, poets, and orators debased and dishonoured the all-glorious God by framing vile images of men and beasts, of birds and creeping things to represent him by. These idolaters changed the glory of the living, ever-living God, into the likeness of lifeless things; whereas the Lord is so infinitely glorious, that nothing can set forth his glory sufficiently; the most excellent creature cannot represent his super-excellent perfections; and accordingly, it is as an angel, as by a worm or a fly. All attempted representations of God by any creature whatsoever, are idolatrous provocations.