A phone slowing down usually is a sign of an OS installation becoming cluttered over time with lots of Apps or phone storage simply filling up.
Freeing up storage and, if necessary, backing up your important data and doing a factory reset might get you back a snappy phone without having to replace it .