The Wisdom of Solomon 2:12-21 contains a passage about how wicked men want to hurt the righteous men (or saints) in general. In earlier verses, it says:
“Let us oppress the righteous poor man;
let us not spare the widow
or regard the gray hairs of the aged.
But let our might be our law of right,
for what is weak proves itself to be useless.” (Wisdom of Solomon 2:10-11)
So the wicked want to hurt the righteous poor man, the widow, and the aged. Later on in chapter 2, they want to hurt the righteous man in general. This does not have a prophecy of Christ, because it is talking about saints in general, not the Son of Man in particular.
Wisdom of Solomon 2:13 says this regarding the righteous man:
“He professes to have knowledge of God
and calls himself a child of the Lord.”
However, Jesus is the Son of God, not a child of God:
“The beginning of the gospel of Jesus Christ, the Son of God." (Mark 1:1)
So the Wisdom of Solomon is talking about righteous people in general, and not about the righteous Son of God in particular. Jesus is the one and only Son of God.
"God, after He spoke long ago to the fathers in the prophets in many portions and in many ways, in these last days has spoken to us in His Son, whom He appointed heir of all things, through whom also He made the world. And He is the radiance of His glory and the exact representation of His nature, and upholds all things by the word of His power. When He had made purification of sins, He sat down at the right hand of the Majesty on high, having become as much better than the angels, as He has inherited a more excellent name than they." (Hebrews 1:1-4)
So Jesus is not just any righteous man, but He is deity and co-Creator, through whom God the Father made the world. Jesus is the radiance of the Father's glory and the exact representation of His nature. In Jesus "all the fullness of Deity dwells in bodily form” (Colossians 2:9).
The Wisdom of Solomon does not contain a prophecy of Jesus here. It is not part of the canon of Scripture. It was not written by Solomon, because it is generally accepted even by the Catholic church that it was written in the 1st or 2nd century BC, many centuries after Solomon’s death.
The Old Testament saints did not believe in the apocrypha as part of the Bible. The Hebrew Bible in ancient times did not contain the apocrypha, but only the Old Testament books we have today.
To further understand about why the Wisdom of Solomon is not part of the canon, please see:
https://www.gotquestions.org/Wisdom-of-Solomon.html
To further understand how we got the Bible, please see:
https://www.gotquestions.org/canon-of-Scripture.html