You’ve got it backwards. The primary mission of both Voyagers was to get information on Jupiter and Saturn. Everything else, is just because they were going that way anyway (and will continue to for a long, long time).