It means if you're not happy with your situation, you work hard to change it and pray too.
Just like when you want to pass an exam you study, or want to go for a job interview, you prepare and pray.
Things change with effort and hard work.
By saying you're not happy with God's plan translates...