Answer in Details
According to the Shiva Purana and other scriptures, worshipping Lord Shiva with pure heart and devotion, especially through observing fasts like “Solah Somvar” (Sixteen Mondays fast), is believed to invoke His blessings for a good and virtuous husband. This practice signifies the devotee’s dedication and the desire for a partner who embodies Shiva's qualities: wisdom, strength, compassion, and loyalty.
Ultimately, Lord Shiva is seen as the divine bestower of blessings, and with sincere prayer and devotion, many believe He grants the wish for a good husband.