Even when rejected turn to the Lord and Pray

We have all experienced rejection, but turn to the Lord and pray. God had a better plan for the Israelite’s but they said no.