John 16:26 In that day you will ask in my name. I am not saying that I will ask the Father on your behalf.
When Jesus was with the disciples He taught them how to pray and here starts teaching them who to pray to.
He does not say we have to go through anyone to talk to God – we talk directly to God!
But what He does say is we should ask God anything because of what Jesus has done for us already – not because we think we deserve it!