The Little Engine That Could by Watty Piper

An analogue for the Good Samaritan parable told in The Gospel of Luke chapter 10. So, is Casey Jr. saying "I think I can, I think I can...I thought I could, I thought I could" meant to prime your thoughts to that story, so you can recognize the Samaritan in Timothy and the crows later, or am I just overthinking it as usual?