and should be the RTX 2070 be suffice for 5600 or 5700x 5800x3d ?
Yes...but it gets a bit more complicated since you have to consider the sort of gaming scenario.
If your preferred 1440p games are triple-a games you'd probably do well to upgrade GPU to get the most solid improvement. A 2070 won't likely play CyberPunk any better with maxed settings, for instance, even with a 5800X. Especially if you'd like to actually game with ray tracing enabled no new CPU will give you much of an improvement, if any. But if you game at lowered settings to maximize FPS in e-sports or PVP games, e.g., FortNite, Valorant, etc., then the 5800X3d should help a 2070 with the best improvement potential.
I'd not consider the 5700X unless you need the extra cores for non-gaming application or it's nearly the same price as a 5600. It might be a little bit better than the 5600 but not really enough to offset the extra cost for gaming alone.