Unlike saving faith, temporary, shallow belief is not rooted in a regenerate heart. We can see faith that perseveres is the result of seed falling on good soil, these are the ones who have heard the word in an honest and good heart, (properly prepared in heart) and hold it fast, and bear fruit with perseverance. The other soils did not persevere because the seed fell on shallow, rocky soil and thorny soil, lacked moisture and had no root (not properly prepared in heart) so of course a lack of perseverance was inevitable. It's obvious what the cause and effect are. The condition of the soil preceded the results.
Genuine faith does not lack evidential works. If someone claims to have faith yet they have no works at all, then they demonstrate that they have an empty profession of faith, dead faith and not genuine faith.