Connecting to an outdated server would give you the wrong warning text.
How to reproduce:
1. Join an outdated server (1.16.3 or below)
Result: It says "multiplayer.disconnect.outdated_server" ❌
Expected results: It should say "Outdated Server!" or something along the lines of that.
Cannot reproduce, check if this is caused by your resource pack.