This statement is true. The text says: "Sam ran out and bought his favourite ice cream." Based on the context of him eating a banana earlier, it is implied it was banana ice cream, and it was his favorite.