The parable of the sower shows us that people who believe (in a shallow way) without a good and honest heart, and without having "root" do not experience real salvation, unlike the 4th soil.
But the ones on the rock are those who, when they hear, receive the word with joy; and these have no root.." Problem from the start. Temporary shallow belief that was not firmly rooted or established from the start "has no root" represents rocky soil. Then we see the results of this. Temporary shallow belief that has no root, lacks moisture, produces no fruit and withers away is not saving belief.
There is a stage in the progress of belief in Jesus that falls short of saving belief that results in salvation. See John 2:23-25 in which faith was superficial, and in John 8:31-59 where the Jews who were said to have "believed in him" turn out to be slaves to sin, indifferent to the words of Jesus, children of the devil, liars, and guilty of setting out to stone the one they have professed to believe in. In John 6:60, we see that Jesus knew from the beginning who "do not believe" (John 6:64).