The idea is simple. Beliefs and feelings are in general are not just for show. The brain most certainly evolved to take advantage of these abilities. Thats the guess anyway.
Then I can say that my guess is that the belief is the ”feeling version” of rational truth assessment.