Do you already own this hardware, or is this all new hardware you are planning on buying for a new build? If this is a system you already have, then there is plenty of room for upgrades. If it's a new system, then there are some newer, better components that could make more sense.
If you are primarily looking for more performance in graphically-demanding games, a graphics card upgrade would undoubtedly make the most difference. A GTX 1660 would be around twice as powerful as a 1050 Ti, and a 1660 SUPER a little faster still. An RTX 2060 or Radeon RX 5600 XT would be nearly three times as fast as a 1050 Ti. Even at the same price point as that 1050 Ti, a 1650 SUPER would be substantially faster.
And if this is an all-new build you are putting together, a Ryzen 3600 can be around 15% faster than a 2600X while costing less than the processor listed here, though if you don't already have a Ryzen processor to update the motherboard with, you would want a board that comes with a Ryzen-3000 capable bios out-of-the-box, like one of the MSI MAX B450 boards, or a B550 board, but those are in rather short supply at the moment, and not priced as attractively.