This phrase is quite simple to understand once you know that ‘the offing’ is the part of the sea that can be seen from land, excluding those parts that are near the shore. Early texts also refer to it as ‘offen’ or ‘offin’. A ship that was about to arrive was “in the offing”, therefore imminent, which is how the phrase is used today.