Does Jesus Understand?

Can Jesus possibly understand our temptation? He only lived for 3 years and that was 2000 years ago!