Trainline rely entirely on making sales to people who fall for their adverts. On the contrary, whether you are buying in advance or on the day (which may be more expensive), it is always cheaper to use the actual operators' websites or book at a station.