“And in that day you will ask Me nothing. Most assuredly, I say to you, whatever you ask the Father in My name He will give you. 24 Until now you have asked nothing in My name. Ask, and you will receive, that your joy may be full.” — John 16:23, 24.
Jesus is speaking of a time when He is ascended into heaven. Then, whatever the disciples ask in Jesus’ name, the Father would give them. Jesus encourages the disciples to ask with the full assurance of receiving what they are asking for so that their joy may be full.