however, one's diet can influence the way one handles stress, so IMO it does play a part... it can also influence the way one thinks and rationalizes.
Another example of something that can make a difference in the way one handles stress and\or thinks\rationalizes, is selfless, loving, and thankful prayer\meditation... one's faith does not matter.