I doubt that this would have prevented the world wars, because in my opinion, World War I was largely brought about by France, not Germany.
Germany might have had better relations with Great Britain, but Frederick III also wanted a strong and independent German Empire, not a submissive vassal...