Desiring God

I find that I certainly seek out God more and extremely frequently when there is something I want or when things aren’t going well.  How then, do we desire God when things are going well?