97 TJ 2.5 idles fine and revs fine till I try to drive

Update, did a compression test test and cylinder 1 is at 90 psi and cylinders 2 and 3 are at 130 psi. Gonna be getting a rebuild soon.