Ask God for his wisdom & discernment in all things www.gotquestions.org/Christian-stock-market.html

Much of the Bible’s teaching about wealth is a warning against putting trust in wealth rather than in the Lord (e.g., 1 Timothy 6:17-18) or to the detriment of those who depend on us (e.g., Ecclesiastes 5:13-14). As long as we honor our commitments to God and our families with our money, and maintain a spirit of generosity and thankfulness, investing is an option Christians can consider.
Gotquestions Answers https://www.gotquestions.org/Christian-stock-market.html
References & Reflections
[1] https://biblehub.com/1_timothy/6-17.htm
[2] https://biblehub.com/proverbs/3-9.htm
[3] https://slideplayer.com/slide/9582695/
[4] https://www.gotquestions.org/Christian-stock-market.html