No. Buying stocks is speculating. Even if you’re buying value stocks. Even if you’re planning to hold stocks for the long-term (whatever that means). I wish more people understood this. Anytime you spend money on the hope and prayer that the thing you bought appreciates in value, you are speculating, not investing. Here’s another way to think about it. If you have significant control over your spent money (say, starting a business or building a new factory) then you’re investing. If you don’t then you’re speculating.
Oh, and one last thing: speculating is just a more acceptable synonym for gambling.