Only 'endure' works in that structure. 'Withstand' works this way: friendships which withstand many years -- but this suggests hardships which 'endure' does not. 'Go by' seems inappropriate in any sense here.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.