Upvote:1
Yes, it will affect your application. If you are honest this time, you will answer "yes" when they ask if you have ever been refused a visa for any country.
Answering the comment, here in the text because of space and formatting:
I believe the current form for students asks
7.3 For either the UK or any other country, have you ever been:
• Refused a visa
• Refused entry at the border
• Refused permission to stay/remain
• Deported
• Removed
• Required to leave
• Excluded/Banned from entry
The idea that you should say "NO" sounds insane to me.