This is untrue, I'm afraid.
With 4 games to go Team A is 12 points behind the league leaders and have been for some time and they finish 12 points behind the champions. Did they challenge for the league? Absolutely not.
Team B is top of the league with 4 games to go but lose their last 4 games and finish third behind Team A on goal difference. Is being top with 4 games to go challenging for the league? Absolutely, yes.