Exactly. Even if Liverpool only won their final 3 games by a single goal and Leicester only lost to Chelsea by a single goal then Leicester would need to beat Spurs by 3 goals - realistically, in that scenario where we win our last 3 and Leicester lose to Chelsea, the goal difference swing will likely be bigger.Unless my maths is bad the only scenario where Liverpool couldn't finish top 4 after winning the last 3 games would be if Chelsea won both the last 2 games and Leicester beat Spurs by enough to overturn whatever goal difference Liverpool have accrued winning the 3 games.
It will all be meaningless when we concede a 88th minute equaliser vs Burnley next midweek though.