The James passage describes wisdom as a gift. To me that rings true because I know the difference between the limitations of my own understanding and the insight and discernment that come into play when the Spirit of God is involved.
The child, helpless in an animal trough, bringing to fruition all that has been possible yet hidden since Adam and Eve turned away from God and buried promise under pride and deception and arrogance and confusion.
“So go for it,” The Teacher declares, “knock yourself out! But understand you’re fooling yourself if you think any of it amounts to anything in the random, self-serving world we create for ourselves when God is not the central value in the equation.”