The proverb "Beware, all the trouble in the world began with one apple" clearly refers to when Adam and Eve disobeyed God by eating the forbidden fruit as depicted in The Bible in the Beginning... (1966).
This episode takes place after Ponch's release from the hospital in episode 8 "Hot Wheels" but was aired after the 90 minute special.