Ibn Seerin Interpretation:
Seeing oneself digging one’s own grave means one will build for oneself a house in that town or place.